Cancel a message that hasn't been sent yet
cancel_queued_messageRemove a waiting message before its send begins. The answer says whether its message quota was returned. Any new-conversation budget it reserved is released too. A send that has already begun cannot be cancelled. The id is the one the send call returned. Free.
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": {
"id": "<id>"
},
"name": "cancel_queued_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the queued message, from the send call's answer. |