title: How to pass parameters to stored procedures in Azure CosmosDB in the portal
body: <p>I've created a simple stored procedure by going to the CosmosDB account in Azure portal and then going to Script Explorer and selecting Create Stored Procedure. The following is the stored procedure:</p>
  
  <pre><code>function saySomething(text) {
  var context = getContext();
  var response = context.getResponse();
  
  response.setBody(text);
  }
  </code></pre>
  
  <p>When I click on Save &amp; Execute, it saves it correctly but fails to execute because I didn't pass the parameter correctly. I had created another stored procedure that doesn't take parameters and it worked fine.</p>
  
  <p>Is there a way to execute stored procedures and pass parameters within the portal?</p>