apply_annotation_update
Modify one existing PDF highlight only after explicit user approval, verifying a fresh fingerprint and writing to an annotated copy so originals stay unchanged.
Instructions
Change ONE existing highlight after explicit user approval.
Requires a fresh fingerprint and an existing *-annotated.pdf copy. Never use shell commands to delete or reconstruct the PDF.
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": {
"file": "<file>",
"page": "<page>",
"xref": "<xref>",
"expected_fingerprint": "<expected_fingerprint>",
"color": "<color>"
},
"name": "apply_annotation_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| page | Yes | ||
| xref | Yes | ||
| color | Yes | ||
| opacity | No | ||
| expected_fingerprint | Yes |