delete_task
Delete one task in the connected LoopGantt ACCOUNT (requires a LoopGantt API key) - and every task under it when it is a phase. DESTRUCTIVE: ask the user before calling, and pass confirm: true only after they agreed; without it nothing is deleted. The task goes to the project trash (restorable in the app for 30 days).
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": {
"taskId": "<taskId>",
"confirm": "<confirm>"
},
"name": "delete_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | Task id from list_tasks | |
| confirm | Yes | Must be true: the user has confirmed this deletion |