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
…nless raised 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
…cludes `bash_command`, `full_command`, `timeout`, `description`, and `dangerouslyDisableSandbox`, plus `git_commit_id` and `git_branch` when a `git commit` command succeeds. `git_commit_id` is the ful…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…cked. Claude analyzes the failure and may retry the command with the `dangerouslyDisableSandbox` parameter. The retried command runs unsandboxed. In an interactive terminal session, who approves it d…
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…
All settings
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. When it's `false`, Claude Code ignores that parameter. While the…