add_footnote
Attach a footnote to a paragraph in a Word document, placing the mark after a specified anchor or at the paragraph's end. Creates the necessary footnote XML and styles automatically on first use.
Instructions
Attach a footnote to a paragraph.
If anchor is given, the footnote mark is placed right after that
substring; otherwise it goes at the end of the paragraph. Creates
word/footnotes.xml and the FootnoteText/FootnoteReference styles on first use.
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": {
"path": "<path>",
"paragraph_index": "<paragraph_index>",
"text": "<text>"
},
"name": "add_footnote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | ||
| path | Yes | ||
| text | Yes | ||
| anchor | No | ||
| paragraph_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||