add_endnote_by_anchor
Insert an endnote before or after specific anchor text in a document. Control occurrence, case sensitivity, and whole word matching.
Instructions
Add an endnote after/before the anchor 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": {
"doc_id": "<doc_id>",
"anchor_text": "<anchor_text>",
"text": "<text>"
},
"name": "add_endnote_by_anchor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| anchor_text | Yes | ||
| text | Yes | ||
| position | No | after | |
| occurrence | No | ||
| match_case | No | ||
| whole_word | No |