sandbox_management
Execute code in ephemeral Docker containers or stateful sessions, and launch, monitor, or test Windows Sandbox environments for isolated development and automated install validation.
Instructions
Docker and Windows Sandbox code execution and bringup tool.
Ephemeral containers, stateful sessions, Windows Sandbox launch/status, and automated naked-install testing for fleet repos.
Return Format
Dict with success (bool), human-readable message, the action performed,
and operation data (result, sessions, job). Failures carry a
human-readable error.
Examples
await sandbox_management(action="execute_code", code="print('hi')", language="python")
await sandbox_management(action="session_create", sandbox_name="dev")
await sandbox_management(action="win_sandbox_status")
await sandbox_management(action="win_sandbox_naked_test", repo="plex-mcp")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": {
"action": "<action>"
},
"name": "sandbox_management"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Code to run (execute_code). | |
| repo | No | Fleet repo for naked-test. | |
| image | No | Container image (session_create). | python:3.13-slim |
| plain | No | Plain output without formatting. | |
| action | Yes | Sandbox operation to perform. | |
| branch | No | Repo branch for naked-test. | main |
| job_id | No | Naked-test job id (status). | |
| command | No | Command to run (session_run). | |
| content | No | File content (session_write_file). | |
| timeout | No | Execution timeout in seconds. | |
| language | No | Code language (execute_code). | python |
| host_path | No | Host script path (execute_file). | |
| health_url | No | Health URL for naked-test ('none' opts out for non-HTTP entrypoints). | |
| sandbox_id | No | Session container id (session_*). | |
| observe_sec | No | Observation window for naked-test. | |
| memory_in_mb | No | Sandbox memory in MB. | |
| sandbox_name | No | Session name (session_create). | |
| container_path | No | In-container file path (session_write/read_file). | |
| network_enabled | No | Allow container network access. | |
| install_claude_desktop | No | Install Claude Desktop in Windows Sandbox. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||