sandbox_file_mkdir
Create a directory and its parent directories in an E2B cloud sandbox by providing the sandbox ID and the absolute path.
Instructions
Create a directory (and parent directories) in a sandbox.
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>"
},
"name": "sandbox_file_mkdir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | The sandbox ID. | |
| path | Yes | Absolute path of the directory to create. |