write_file
Writes text content to a file in a sandbox, automatically creating any missing parent directories.
Instructions
Write text content to a file in a sandbox. Creates parent directories automatically.
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": {
"sandbox_id": "<sandbox_id>",
"path": "<path>",
"content": "<content>"
},
"name": "write_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute file path to write | |
| content | Yes | File content to write | |
| sandbox_id | Yes | Sandbox ID |