save_sandbox_spec
Save a reusable sandbox configuration with model, tools, and environment settings to a named file for consistent agent workflows.
Instructions
Save a reusable sandbox spec to ~/.claude/sandboxes/.json.
Args: name: Name for the sandbox spec (e.g. "web-researcher", "code-reviewer"). spec: JSON object with sandbox fields: model, tools, mcps, system_prompt, claude_md, output_schema, effort, max_budget, mounts, workdir, input_files, network, memory, cpus, timeout, env_vars.
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>",
"spec": "<spec>"
},
"name": "save_sandbox_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| spec | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |