Clear Completed Library List Items
library_list_clear_completedPermanently delete every completed item from an owned Library List. Tell the user how many items will be removed; call with confirmed=true only after they confirm. Use the listId and expectedVersion from the latest library_list_get. On library_version_mismatch, read the list again and reconsider the change; never retry blindly. Library Lists only, not trip checklists.
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": {
"listId": "<listId>",
"expectedVersion": "<expectedVersion>",
"confirmed": "<confirmed>"
},
"name": "library_list_clear_completed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listId | Yes | Library List ID from library_lists_search or library_list_get. | |
| confirmed | Yes | True only after the user explicitly confirms this exact change. Without it the tool changes nothing and returns the change for review. | |
| expectedVersion | Yes | Opaque version from the latest library_list_get or Library List tool result. |