set_update_fields_flag
Sets a Word document to update all fields on next open. Includes optional backup and validation, and refuses to modify files currently open in Word.
Instructions
Toggle 'update all fields on next open' (one-shot; Word clears it after updating). 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 |
|---|---|---|---|
| on | No | ||
| backup | No | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||