PDF: margin note or reply
add_notePlace a comment icon in a PDF margin or reply to an existing annotation in Okular, positioning notes near text or within a thread.
Instructions
Put a comment icon in the margin, or reply to an annotation.
Comment icon in the margin: level with near_text, or as a threaded reply to the annotation reply_to (an xref from annotations, e.g. to answer the user's own note), else at the top of the page. color as in mark_text. Same save-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": {
"note": "<note>"
},
"name": "add_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| page | No | ||
| path | No | ||
| color | No | ||
| reply_to | No | ||
| near_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||