delete_task_list
Permanently deletes a Google task list after verifying its exact current title and confirmation; lists containing tasks require explicit approval to delete contents.
Instructions
Permanently delete a task list. Requires its exact current title and confirm=true.
Lists with tasks are refused unless allow_nonempty=true after the user approves deletion of their contents. The task check includes hidden and completed tasks.
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_list_id": "<task_list_id>",
"expected_title": "<expected_title>"
},
"name": "delete_task_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| task_list_id | Yes | Exact Google ID from a previous tool result; names are not IDs. | |
| allow_nonempty | No | ||
| expected_title | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | ||
| task_id | No | ||
| task_list_id | Yes |