Cancel a scheduled text
cancel_scheduled_textCancel a text scheduled with send_sms (send_at), before it goes out, by its scheduledId. It is then never sent. - Cancel only a text the user asked to cancel.
Instructions
Cancel a text scheduled with send_sms (send_at), before it goes out, by its scheduledId. It is then never sent.
Cancel only a text the user asked to cancel. When it is not clear which one, list them with list_scheduled_texts and ask the user.
A text that already went out can't be canceled; the answer says what happened to it.
A canceled text can't be brought back: to send it after all, schedule it again with send_sms, with the user's OK.
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": {
"scheduledId": "<scheduledId>"
},
"name": "cancel_scheduled_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scheduledId | Yes | The scheduledId that send_sms or list_scheduled_texts returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| error | No | Why it failed, e.g. limit_reached or phone_not_found. | |
| sendAt | No | When it goes out (or went out), ISO 8601 in UTC. | |
| status | Yes | scheduled, sent, failed or canceled. | |
| message | Yes | ||
| phoneId | No | The phone named when it was scheduled; without it, the default phone sends it. | |
| messageId | No | Set once it went out; pass it to get_message_status. | |
| scheduledId | Yes | Pass it to cancel_scheduled_text. |