sandbox_upload_url
Get a presigned URL to upload a file to a sandbox. Use a POST request with multipart/form-data to transfer the file to the destination path inside the sandbox.
Instructions
Get a presigned URL to upload a file to the sandbox. Send a POST request with the file as multipart/form-data to the returned URL.
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>"
},
"name": "sandbox_upload_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandboxId | Yes | The sandbox ID. | |
| path | No | Destination path inside the sandbox. Defaults to /home/user. |