Search the documentation
6 pages for dangerouslydisablesandbox.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…running commands outside the sandbox. When `True`, the model can set `dangerouslyDisableSandbox` in tool input, which falls back to the [permissions system](#permissions-fallback-for-unsandboxed-comma…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…d to the max description?: string; run_in_background?: boolean; dangerouslyDisableSandbox?: boolean; }; ``` Executes Bash commands with optional timeout and background execution. The working di…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…: includes `bash_command`, `full_command`, `timeout`, `description`, `dangerouslyDisableSandbox`, and `git_commit_id` (the commit SHA, when a `git commit` command succeeds). The desktop app's workspac…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…ions, Claude analyzes the failure and may retry the command with the `dangerouslyDisableSandbox` parameter. The retried command runs outside the sandbox, so it goes through the regular permission flo…
Claude Code settings
Claude Code CLI · in the page
settings
…s` | Allow commands to run outside the sandbox via the `dangerouslyDisableSandbox` parameter. When set to `false`, the `dangerouslyDisableSandbox` escape hatch is completely disabled and…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…edCommands` Let Claude retry a command outside the sandbox with the `dangerouslyDisableSandbox` parameter after the sandbox blocks it. Set it to `false` so Claude Code ignores that parameter complete…