edit_footnote
Rewrite footnote text in Word documents by note ID or display position. Includes automatic backup and atomic save, while refusing to modify files open in Word.
Instructions
Rewrite a footnote's text, addressed by note_id or 1-based display position (exactly one). Auto-backup: prev/anchor slots in .ks4w-backups (backup=False skips rotation only); atomic validated save. Refuses documents open in Word.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup | No | ||
| note_id | No | ||
| new_text | Yes | ||
| position | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||