edit_file
Overwrite existing file content in a workspace to apply AI-generated changes, enabling human review via Change Requests and Git-backed conflict detection.
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 |