Write files
fs_writeCreate or replace files in the project (parent directories are created). Give path and content for one file, or files: [{path, content}] for several at once. Use fs_edit to change part of an existing file.
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": {
"project": "<project>"
},
"name": "fs_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path starting with "workspace/" (the code, /workspace) or "data/" (runtime files, /data). | |
| files | No | ||
| content | No | ||
| project | Yes | Project slug or id. | |
| idempotency_key | No | Any unique string; repeating a call with the same key does not repeat its effect. |