close_pdf
Close and remove an in-memory PDF to free memory. Use when done with a document; unsaved changes are lost.
Instructions
Close and remove an in-memory PDF document.
Use this to free up memory when you're done with a document. Any unsaved changes will be lost.
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": {
"document_id": "<document_id>"
},
"name": "close_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | Identifier of the loaded document |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |