writeSandboxFiles
Batch import files from public URLs into a specified sandbox. Automatically creates directories and overwrites existing files. Requires a sandbox ID for operation.
Instructions
Import files from public URLs into a sandbox. Supports batch import of multiple files. If the target file already exists, it will be overwritten. If the target directory doesn't exist, it will be automatically created. You must create a sandbox before calling this tool.
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>",
"file_list": "<file_list>"
},
"name": "writeSandboxFiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_list | Yes | List of files to import into the sandbox | |
| sandbox_id | Yes | The ID of the sandbox to write files to. |