Answer: Use the `tools` field to limit what a subagent can do: omit `tools` to give the subagent every tool available to subagents, or list specific tools to restrict it to those. For example, a read-only analysis agent gets `["Read", "Grep", "Glob"]`. Status: Confirmed Entry: tool/claude-code/permissions-and-security/subagent-tool-restrictions Revision: 4 Digest: sha256:916f796564488e5e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:03:03Z Last changed: 2026-11-20T12:17:29Z (memory-enabled extra tools: — → Read, Write, and Edit) Last verified: 2026-11-20T12:17:29Z Next check: 2026-11-21T12:17:29Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of restriction mechanism | tools | [1] | 2026-11-20 omit tools behavior | the subagent gets every | [1] | 2026-11-20 list tools behavior | the subagent gets those | [1] | 2026-11-20 read-only example tools | ["Read", "Grep", "Glob"] | [1] | 2026-11-20 memory-enabled extra tools | Read, Write, and Edit | [1] | 2026-11-20 Sources: [1] Anthropic. "Subagents in the SDK". https://code.claude.com/docs/en/agent-sdk/subagents.md Role: primary. Accessed: 2026-11-20T12:17:29Z Quote: "Use the `tools` field to limit what a subagent can do:" (Supports: restriction mechanism) Quote: "**Omit `tools`**: the subagent gets every" (Supports: omit tools behavior) Quote: "**List tools**: the subagent gets those." (Supports: list tools behavior) Quote: "gets `["Read", "Grep", "Glob"]`" (Supports: read-only example tools) Quote: "it also gets Read, Write, and Edit" (Supports: memory-enabled extra tools) Published: 2026-11-20T10:36:10Z Snapshot SHA-256: 39e8862dc192aa0a70a5153f84efe78010ae959a3f6f12a1f7b2c5982f0aaaed (captured 2026-11-20T12:17:27Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:17:29Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:17:29Z Last attempt: 2026-11-20T12:17:29Z Notes and limitations: Extracted automatically from a single official source (section "Tool restrictions"). Related: https://latestn.com/tool/claude-code/permissions-and-security/switch-permission-modes How do I switch permission modes in Claude Code? https://latestn.com/tool/claude-code/permissions-and-security/turn-off-simulator-access How do I turn off simulator access in Claude Code Desktop? https://latestn.com/tool/claude-code/permissions-and-security/undo-changes-checkpoints How do I undo changes Claude Code made to my files? https://latestn.com/tool/claude-code/permissions-and-security/set-up-sandbox-runtime How do I set up and launch the Claude Code sandbox runtime? https://latestn.com/tool/claude-code/permissions-and-security/slack-access-control How do I control who can access Claude Code in Slack? https://latestn.com/tool/claude-code/permissions-and-security/stop-computer-use How do I stop Claude from controlling my screen during computer use? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:17:29Z | changed | memory-enabled extra tools: — → Read, Write, and Edit | [1] 2026-11-20T12:17:29Z | changed | read-only example tools: — → ["Read", "Grep", "Glob"] | [1] 2026-11-20T12:17:29Z | changed | restriction mechanism: — → tools | [1] 2026-11-20T12:17:29Z | changed | omitted tool effect: A tool you leave out isn't in the subagent's session at all → — | [1] 2026-11-20T12:17:29Z | changed | example read-only tools: ["Read", "Grep", "Glob"] → — | [1] 2026-11-20T12:17:29Z | changed | list tools behavior: the subagent gets only those → the subagent gets those | [1] 2026-11-20T12:17:29Z | changed | restriction field: tools → — | [1] 2026-11-17T12:21:44Z | changed | omit tools behavior: — → the subagent gets every | [1] 2026-11-17T12:21:44Z | changed | restriction field: — → tools | [1] 2026-11-17T12:21:44Z | changed | restriction method: tools → — | [1] 2026-11-14T12:13:11Z | changed | restriction method: — → tools | [1] 2026-11-14T12:13:11Z | changed | field name: tools → — | [1] 2026-11-13T03:03:03Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/permissions-and-security/subagent-tool-restrictions/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/permissions-and-security/subagent-tool-restrictions POST: https://latestn.com/dispute/tool/claude-code/permissions-and-security/subagent-tool-restrictions with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/permissions-and-security/subagent-tool-restrictions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I restrict which tools a subagent can use in the Claude Agent SDK? Revision 4, last verified 2026-11-20T12:17:29Z. https://latestn.com/tool/claude-code/permissions-and-security/subagent-tool-restrictions (accessed 2026-11-21T10:02:29Z). @misc{LatestN_tool_claude_code_permissions_and_security_subagent_tool_restrictions_r4, title = {How do I restrict which tools a subagent can use in the Claude Agent SDK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/permissions-and-security/subagent-tool-restrictions}}, note = {Revision 4; digest sha256:916f796564488e5e; last verified 2026-11-20T12:17:29Z; accessed 2026-11-21T10:02:29Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/permissions-and-security/subagent-tool-restrictions