PDF: delete an annotation
remove_annotationDelete a PDF annotation by its xref and save the document in Okular. Use the xref from the annotations list; defaults to the open document.
Instructions
Delete an annotation by xref.
Delete an annotation by the xref reported by annotations (default: the open document) and save. Same save-in-Okular-first caveat as mark_text.
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": {
"xref": "<xref>"
},
"name": "remove_annotation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| xref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||