Edit file
file_editReplace a specific text block that appears exactly once in a workspace file, enabling precise edits without unintended changes.
Instructions
Replace an exact text block that appears exactly once in a workspace file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | ||
| path | Yes | ||
| oldText | Yes | ||
| newText | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| replacements | Yes |