Write Files to Sandbox
sandbox_write_filesWrites one or more files into a target sandbox and automatically creates missing parent directories, so agents can persist file content at absolute paths without manual setup.
Instructions
Write one or more files inside 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>",
"files": "<files>"
},
"name": "sandbox_write_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | List of files to write | |
| sandbox_id | Yes | ID of the target sandbox |