edit_file
Overwrite content of an existing file in an active workspace. Specify workspace ID, file path, and new content to replace the file's current data.
Instructions
Edit (overwrite) an existing file within an active workspace.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_id": "<workspace_id>",
"path": "<path>",
"content": "<content>"
},
"name": "edit_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| workspace_id | Yes |