drive_sandbox_clone
Clone a Git repository into a per-workspace sandbox for isolated execution. The sandbox persists across sessions within the workspace.
Instructions
[EXPERIMENTAL] Clone a git repo into a per-workspace Linux sandbox. Requires Cloudflare Containers on the AgentDrive worker; gracefully degrades to a 503 with "sandbox not configured" otherwise.
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": {
"workspace_id": "<workspace_id>",
"url": "<url>"
},
"name": "drive_sandbox_clone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Git repository URL to clone | |
| depth | No | Shallow clone depth (default: full clone) | |
| branch | No | Branch to check out (default: repo default) | |
| workspace_id | Yes | Workspace to clone into. The sandbox persists across MCP sessions per workspace. |