Cancel a Scheduled Call
cancel_scheduled_callUse this when the user wants a call OsmO has booked for later called off. callId comes from list_scheduled_calls. Calls booked together are cancelled together. An unknown callId returns code not_found; a call already placed or already cancelled returns already_placed or already_cancelled. For a call that can still be cancelled, without confirmed:true nothing is cancelled: it returns confirmation_required naming every call it would cancel. With confirmed:true it returns code ok with cancelledCount, or partial when some of the calls had already been placed. It also stops keep going: for any callId of a call keep going is on for, without confirmed:true it returns confirmation_required (action stop_keep_going), and with confirmed:true it returns ok with stopped:true; OsmO then places no more tries and a booked next try is cancelled.
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": {
"callId": "<callId>"
},
"name": "cancel_scheduled_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| callId | Yes | A callId from list_scheduled_calls. | |
| confirmed | No | true means the user has approved the confirmation_required preview returned by an earlier call with the same arguments, and carries it out. Without it nothing changes and that preview is returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | What happened, e.g. ok, confirmation_required, not_found. | |
| message | No | One sentence for the user, when there is one. |