surveys_query
Query surveys. Set action to "list" (optional type/status filters; participants only ever see ACTIVE surveys they are in the audience for, regardless of the status filter) or "get_results" (requires surveyId, optional matchId; participants see only their own responses; matchId filtering is rejected on anonymous surveys for non-participant callers).
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": {
"action": "<action>"
},
"name": "surveys_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| action | Yes | ||
| status | No | ||
| matchId | No | ||
| surveyId | No |