sandbox_copy_in
Copies a file or folder from your designated transfer folder into a sandbox so it has a script, dataset, or project to work on. Only paths inside the transfer folder are allowed.
Instructions
Copy a file or a whole folder from the user's computer into a sandbox.
Use this to give the sandbox something to work on (a script, a dataset, a project folder). Only things inside the user's designated transfer folder can be copied; nothing else on the user's computer is reachable.
host_path: the file or folder to copy, relative to the transfer folder (for example "data/input.csv" or "myproject"). Paths that leave the transfer folder are rejected. guest_path: full destination path inside the sandbox. For a file, the path of the file itself (for example "/home/debian/input.csv"); its folder must already exist. For a folder, the path the folder should have (for example "/home/debian/myproject"); it is created if missing, and the folder's contents are placed inside it.
Folders are copied with everything in them. Files arrive without the executable flag (use chmod +x if needed). A folder that contains links is refused. Returns a short confirmation with the number of files and the size.
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>",
"host_path": "<host_path>",
"guest_path": "<guest_path>"
},
"name": "sandbox_copy_in"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_path | Yes | ||
| guest_path | Yes | ||
| sandbox_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |