workspace_write_file
Create or fully overwrite a UTF-8 file in the workspace; the parent directory must exist. Returns removed/added line counts and linked change resources.
Instructions
Create or fully overwrite a UTF-8 file; its parent directory must exist.
Return removed/added line counts and linked change resources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| action | Yes | ||
| resources | No | ||
| lines_added | Yes | ||
| lines_removed | Yes |