Search the documentation
5 pages for autoallowbashifsandboxed.
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
…class SandboxSettings(TypedDict, total=False): enabled: bool autoAllowBashIfSandboxed: bool excludedCommands: list[str] allowUnsandboxedCommands: bool network: SandboxNetworkConfi…
Configure permissions
Claude Code CLI · in the page
permissions
…/sandboxing#permission-rules). When you enable sandboxing and leave `autoAllowBashIfSandboxed` at its default of `true`, sandboxed Bash commands run without prompting even if your permissions include…
Configure the sandboxed Bash tool
Claude Code CLI · in the page
sandboxing
…tch directories with `mktemp -d` instead of relying on `$TMPDIR`. * [`autoAllowBashIfSandboxed`](/docs/en/settings-reference#sandbox-autoallowbashifsandboxed) still defaults to `true`, so sandboxed co…
Claude Code settings
Claude Code CLI · in the page
settings
…| | `autoAllowBashIfSandboxed` | Auto-approve bash commands when sandboxed. Default: true…
All settings
Claude Code CLI · in the page
settings-reference
…ox settings | Any file | | [`sandbox.autoAllowBashIfSandboxed`](#sandbox-autoallowbashifsandboxed) | Run [sandboxed](/docs/en/sandboxing#…