delete_subtask
Delete a subtask by its ID using soft-delete. Returns the deleted subtask with a deletion timestamp.
Instructions
Delete a subtask (soft-delete). Returns the deleted Subtask with
deleted_at populated.
The Kanban Tool API soft-deletes — the subtask record is retained
server-side with a deleted_at timestamp and stops appearing on the
parent task's subtasks array. This operation is not strictly
irreversible from an audit perspective, but the MCP-visible effect is
"the subtask is gone."
Failure modes: KanbanToolHTTPError(404) when the subtask id is
unknown OR was already soft-deleted in a previous call (the API
returns 404 in both cases). Re-fetch the parent task's
subtasks list to confirm the current state before retrying.
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": {
"subtask_id": "<subtask_id>"
},
"name": "delete_subtask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subtask_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| is_completed | No | ||
| position | No | ||
| task_id | No | ||
| assigned_user_id | No | ||
| deleted_at | No |