add_response
Add a response to an active survey by providing the survey ID and an object of question codes with values. Returns the ID of the inserted response.
Instructions
Add a response to a survey. Returns the ID of the inserted response.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"iSurveyID": "<iSurveyID>",
"aResponseData": "<aResponseData>"
},
"name": "add_response"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iSurveyID | Yes | Survey ID (must be active). | |
| aResponseData | Yes | Object {question_code: value} with the response. |