This is an example:
EXEC_SP 'SPName' WITH 'CID' = Customer.ID RETURN Part
The query assumes that the object Customer is in the Context.
runQueryWithParams is for queries that include values prompted at runtime. I am not sure what it has to do with parameters of the stored procedure. You need to use the runQuery function:
AwareApp.runQuery ('QueryName', 'main', null, { objectName: 'MyObject', objectId: 67890 });
Note the last parameter - this passes a particular instance of the object to the query. This instance will be placed in the context