create_file
Create files with specific paths and content inside an isolated sandbox to support code execution and project setup.
Instructions
Create a file in the sandbox environment
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": {
"path": "<path>",
"content": "<content>"
},
"name": "create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path to create | |
| content | Yes | File content | |
| sandbox_id | No | Optional sandbox ID to use specific sandbox |