delete_document
Delete a report published with add_document, removing its file and Kavita entry after the next scan. Only reports can be deleted; books from other libraries are never removed.
Instructions
Delete a report published with add_document: its file and, after Kavita's next scan, its Kavita entry. Only reports can be deleted, never books from other libraries.
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": {
"series_id": "<series_id>",
"confirm": "<confirm>"
},
"name": "delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true: deleting removes the book file | |
| scan_now | No | Ask Kavita to scan the Reports library now (seconds) instead of waiting for its folder watcher (about 6 minutes). Needs an admin Kavita key. | |
| series_id | Yes | Kavita series ID (from list_library, search or add_document) |