Cancel a wake-up call
wakeup_cancelCancel a wake-up call that has not fired yet (scheduled or retrying): it never fires and shows canceled. Another status answers wakeup_not_cancelable, an unknown wakeup_id answers wakeup_not_found: nothing changes. Works after the plan ended. Repeating ones: schedule_update or schedule_delete.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wakeup_id": "wak_exampleexampleexample2",
"instance_id": "wkp_exampleexampleexample2"
},
"name": "wakeup_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wakeup_id | Yes | The call's id (wak_...) from wakeup_schedule or wakeup_list. | |
| instance_id | Yes | Utility instance id from buy or list_utilities. | |
| passport_token | No | Your amp_ token, only if you have no app sign-in and cannot send a header. |