Add Footnote Robust
add_footnote_robustAdd a footnote to a Word document with robust validation and compliance. Ensures correct placement and handles errors automatically.
Instructions
Add footnote with robust validation and Word compliance. This is the production-ready version with comprehensive error handling.
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": "add_footnote_robust"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| search_text | No | ||
| paragraph_index | No | ||
| footnote_text | No | ||
| validate_location | No | ||
| auto_repair | No |