Write File
writeCreate or overwrite text files in your workspace, returning a unified diff to track changes. Use to write meaningful content without empty placeholders.
Instructions
Create or overwrite a meaningful text file inside the workspace. Returns a unified diff; do not create empty placeholder files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path relative to workspace root. | |
| content | Yes | Complete file contents to write. | |
| overwrite | No | Allow overwriting existing files. Default: true. | |
| create_dirs | No | Create parent directories if missing. Default: true. | |
| workspace_id | No | Workspace id from open_workspace. Omit to use default workspace. |