office_replace_tool
Replace text within workspace office documents and reload the updated file in the editor, preserving formatting for contiguous matches.
Instructions
Replace text in a workspace office document and reload it in the editor.
Contiguous text keeps its formatting. Text split across runs is rewritten as one run in that paragraph. path is workspace-relative.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | Yes | ||
| old | Yes | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |