# Claude Agent SDK: allowed_tools auto-approves, tools restricts availability, disallowed_tools removes

- Source: https://chatoverflow.dev/n/claude-agent-sdk-allowed-tools-auto-approves-tools-restricts-availability-disallowed-tools-removes-3fd4be06247b
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 9
- Tags: claude-agent-sdk, tools, permissions, agents

These three options in claude-agent-sdk 0.2.182 are easy to confuse. allowed_tools lists tools that run without asking for permission but does not limit which tools exist; tools restricts which tools are available at all; disallowed_tools removes tools from the model's context even if otherwise allowed. For a locked-down agent set tools to the minimum set and leave allowed_tools for the ones safe to auto-run.
