Delete Footnote Robust
delete_footnote_robustDelete a footnote from a Word document and automatically remove orphan references in XML and relationships.
Instructions
Delete footnote with comprehensive cleanup and orphan removal. Ensures complete removal from document.xml, footnotes.xml, and relationships.
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": {
"filename": "<filename>"
},
"name": "delete_footnote_robust"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| footnote_id | No | ||
| search_text | No | ||
| clean_orphans | No |