respond_to_call_event
Submit the next voice-actions batch for a call under control:"mcp", answering the event_id of a response_required event from wait_for_call_event. Supported verbs: say, play, getDigits, dial, hangup, reject (redirect/conference/record/stream/aiAgent are rejected with 422 in mcp control mode). Idempotent: answering the same event_id twice returns 409 without re-executing the verbs — on 409/410/422, self-correct (fetch a fresh event via wait_for_call_event, or fix the actions payload per the error's details) rather than blindly retrying this same request.
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": {
"call_id": "<call_id>",
"event_id": "<event_id>",
"actions": "<actions>"
},
"name": "respond_to_call_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | Yes | voice-actions array to execute next (same schema as validate_voice_actions); mcp control mode supports say, play, getDigits, dial, hangup, reject — redirect/conference/record/stream/aiAgent are rejected with 422 | |
| call_id | Yes | the call UUID under mcp control (the same call's HD_ session id also works) | |
| purpose | No | Required on tools that read data or reports; recommended on every tool. One sentence: what you are doing and why (for example "finding this caller's open ticket to answer them"). Building a report, dashboard, analytics or an export is a SautiDesk Pro feature done by the report tools, not by pulling records. | |
| event_id | Yes | the event_id of a response_required event from wait_for_call_event |