remove_sandbox_mount
Unmounts a host folder from a sandbox target and recreates the sandbox container; use it to remove host mounts, even when HOST_MOUNT_ROOTS is no longer set.
Instructions
Unmount a host folder from the sandbox (admin)
Admin only: removes the host mount on this target (also when HOST_MOUNT_ROOTS is no longer set). The sandbox container is recreated as for adding one. HTTP DELETE /sandboxes/{name}/mounts
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": {
"name": "<name>",
"target": "<target>"
},
"name": "remove_sandbox_mount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| target | Yes | The mount's path inside the sandbox, e.g. /mnt/team |