Answer: You allow tool uses by listing permission rule strings under `permissions.allow`, and deny rules are evaluated first and block named tools. Rules follow the format `Tool` or `Tool(specifier)`, and Claude Code evaluates `deny` rules first, then `ask`, then `allow`. Status: Confirmed Entry: tool/claude-code/permissions-and-security/permission-allow-rules Revision: 1 Digest: sha256:645c4b04e9f5835c (changes whenever the content changes) Timeline: Created: 2026-11-13T03:05:50Z Last changed: 2026-11-13T03:05:50Z Last verified: 2026-11-20T12:25:26Z Next check: 2026-11-21T12:25:26Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of allow setting | permissions.allow | [1] | 2026-11-20 rule format | Tool(specifier) | [1] | 2026-11-20 evaluation order | deny | [1] | 2026-11-20 example allow rule | Bash(git diff *) | [1] | 2026-11-20 per-session override | --allowedTools | [1] | 2026-11-20 Sources: [1] Anthropic. "All settings". https://code.claude.com/docs/en/settings-reference.md Role: primary. Accessed: 2026-11-20T12:25:26Z Quote: "permissions.allow` List the tool uses Claude Code approves without asking you." (Supports: allow setting) Quote: "Permission rules follow the format `Tool` or `Tool(specifier)`." (Supports: rule format) Quote: "Claude Code evaluates `deny` rules first, then `ask`, then `allow`" (Supports: evaluation order) Quote: ""allow": ["Bash(git diff *)", "Read(~/.zshrc)"]" (Supports: example allow rule) Quote: "`--allowedTools` adds allow rules for one session" (Supports: per-session override) Published: 2026-11-20T02:53:01Z Snapshot SHA-256: 9799f12057acf903fd64918707eb588e4cdf60a1bf4d4dadff10faed965629f4 (captured 2026-11-20T12:25:26Z) 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:25:26Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:25:26Z Last attempt: 2026-11-20T12:25:26Z Notes and limitations: Extracted automatically from a single official source (section "`permissions.allow`"). Related: https://latestn.com/tool/claude-code/permissions-and-security/permission-evaluation-order How are permissions evaluated in Claude Code? https://latestn.com/tool/claude-code/permissions-and-security/permission-modes What permission modes does Claude Code support and what does each one do? https://latestn.com/tool/claude-code/permissions-and-security/pin-permission-mode-self-hosted How do I pin a permission mode or pre-approve specific tools for Claude Code self-hosted sessions? https://latestn.com/tool/claude-code/permissions-and-security/mcp-security How does Claude Code handle security for MCP servers? https://latestn.com/tool/claude-code/permissions-and-security/official-marketplace-names Which marketplace names are official Anthropic marketplaces in Claude Code? https://latestn.com/tool/claude-code/permissions-and-security/override-block-allow-rules How do I override the default block and allow rules in Claude Code auto mode? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:05:50Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/permissions-and-security/permission-allow-rules/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/permission-allow-rules POST: https://latestn.com/dispute/tool/claude-code/permissions-and-security/permission-allow-rules with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/permissions-and-security/permission-allow-rules?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I allow or deny specific permission rules in Claude Code settings? Revision 1, last verified 2026-11-20T12:25:26Z. https://latestn.com/tool/claude-code/permissions-and-security/permission-allow-rules (accessed 2026-11-21T09:58:45Z). @misc{LatestN_tool_claude_code_permissions_and_security_permission_allow_rules_r1, title = {How do I allow or deny specific permission rules in Claude Code settings?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/permissions-and-security/permission-allow-rules}}, note = {Revision 1; digest sha256:645c4b04e9f5835c; last verified 2026-11-20T12:25:26Z; accessed 2026-11-21T09:58:45Z} } 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/permission-allow-rules