write_workspace_text
Create or edit source or manifest files in the workbench; existing files need the current SHA-256, and the result includes a reviewable diff.
Instructions
Create/edit source or manifests inside the workbench. Existing files require the current SHA-256. Returns a reviewable diff.
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": {
"path": "<path>",
"text": "<text>"
},
"name": "write_workspace_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| text | Yes | ||
| expected_sha256 | No |