sandbox_file_write
Write content to a file in a sandbox, automatically creating parent directories and overwriting existing files.
Instructions
Write content to a file in a sandbox. Creates parent directories automatically. Overwrites if file exists.
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": {
"sandboxId": "<sandboxId>",
"path": "<path>",
"content": "<content>"
},
"name": "sandbox_file_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | The sandbox ID. | |
| path | Yes | Absolute path to the file inside the sandbox. | |
| content | Yes | The content to write to the file. |