Delete a list
delete_listPermanently delete a list, with all of its items and indexes. Unlike an item, a deleted list can't be restored. The list disappears at once (its pathName is free again) and its contents are purged in the background. A protected list that still has items is refused. Confirm with the user first. 1 request.
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": "<list>",
"confirm": "<confirm>"
},
"name": "delete_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list | Yes | The list: its id or pathName | |
| confirm | Yes | The same value as list, to confirm the deletion |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list | Yes | ||
| deleted | Yes |