footnote-attach
Attach footnote texts to their in-text markers from page layout coordinates — Given footnote markers (label, page, x, y) and footnote texts (label, page, x, y) extracted from a laid-out document, pairs each marker with its note by label and page, pairing repeated labels on one page in reading order, optionally letting a note continue on the next page, and reports unattached markers, orphan notes, ambiguous groups (different counts for the same label) and notes placed above
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": {
"markers": "<markers>",
"notes": "<notes>"
},
"name": "footnote-attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| yAxis | No | Direction of increasing y: down (PDF.js, screen) or up (PDF user space). Default down. | |
| markers | Yes | ||
| allowNextPage | No | A note may sit on the page after its marker. Default false. |