Delete a task list
delete_listPermanently delete a list the user owns, with all its tasks and subtasks and their scheduled timeline events. If the list is shared, it disappears for every collaborator too, and the result says how many people lost access. This cannot be undone from here; confirm with the user first if they did not clearly ask for it. Only the owner can delete a list: for a list someone else owns, or an id that does not exist (including one that was already deleted), the call returns an error and nothing is deleted. A collaborator who only wants to stop seeing a shared list has to leave it in the Ordr app. To remove some tasks and keep the list use delete_tasks, and to just change the name use update_list.
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": {
"list_id": "<list_id>"
},
"name": "delete_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | Id of the list to delete, from list_lists. The user must own it (shared_with_me is false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Name the deleted list had | |
| deleted | Yes | Id of the deleted list | |
| shared_with | Yes | How many collaborators lost access to it |