file_update
Atomically write one file, optionally guarded by If-Match
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": {
"workspaceSlug": "<workspaceSlug>",
"path": "<path>",
"body": "<body>"
},
"name": "file_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | UTF-8 text or an object containing base64 bytes for a binary request body | |
| path | Yes | ||
| headers | No | ||
| workspaceSlug | Yes |