Delete PDF
delete_pdfRequires items.delete. Permanently delete one stored PDF by pdf_id. Deletion cannot be undone. Call this only when the user has asked to delete that PDF. One id per call. The PDF must belong to this organization. An unknown id and a PDF from another organization return the same error. Wildcards and bulk deletes are not accepted. Two-step confirm_token: the first call without confirm_token only returns confirmation_required, a summary, and confirm_token. That call does not write, delete, cancel, or send. The second call must repeat the same arguments plus that confirm_token; that is the write. A confirm boolean is ignored. The token expires in 5 minutes and works once.
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": {
"pdf_id": "<pdf_id>"
},
"name": "delete_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_id | Yes | ||
| confirm_token | No |