discord_cancel_scheduled_task
Cancel a scheduled Discord message by task ID to prevent it from being sent again; returns whether the task existed.
Instructions
Cancel a scheduled message by its task ID. The message will not be sent again. Returns whether the task existed. Only affects tasks created in this server process; a durable external scheduler is not reachable from here.
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": {
"task_id": "<task_id>"
},
"name": "discord_cancel_scheduled_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task ID returned by discord_schedule_message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| cancelled | Yes |