Copy into sandbox
sandbox_copy_inCopy a host file or folder—such as build output—onto the sandbox local disk so an AI agent can deploy and test it inside the isolated Windows environment.
Instructions
Copy a host file or folder (e.g. your build output) onto the sandbox local disk. Sources are confined to SANDBOX_MCP_ALLOWED_ROOTS when it is set; when it is empty the copy proceeds but the result carries an unrestricted-roots warning.
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": {
"hostPath": "<hostPath>"
},
"name": "sandbox_copy_in"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostPath | Yes | Absolute host path to a file or folder. | |
| sandboxPath | No | Destination path inside the sandbox (default C:\apps\<name>). |