copy_document
Copies a Word document byte-for-byte to a new path. Refuses to overwrite existing files unless overwrite=True, rotating overwritten content into an undoable backup slot.
Instructions
Copy a document byte-for-byte, e.g. to a new DTG-stamped filename before editing (create_snapshot names such a copy for you; this tool takes an explicit dest_path). Refuses an existing dest_path unless overwrite=True; an overwritten destination's previous content rotates into its .ks4w-backups prev slot first, so the overwrite is undoable via manage_backups restore.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_path | Yes | ||
| file_path | Yes | ||
| overwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||