Configure permissions changedpermissions
Nearest release: v2.1.332, published 2 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 25 Nov 2026 00:37 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 25 Nov 2026 01:07 UTC.
Upstream edited
Recorded here
Lines+10added
Lines−0removed
From line
102
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits95to this page, all time
#### Allow a file tool outside the working directories
The whole hunk
from line 102, old and new numbered
/
from line 102
102102
103103The label shown for a tool in the transcript and permission dialog can differ from its canonical name. For example, the tool labeled `Stop Task` in the transcript has the canonical name `TaskStop`. Permission rules and [hook matchers](https://code.claude.com/docs/en/hooks.md) don't match the label, so a rule written as `Stop Task` doesn't match. For deny and ask rules, a [startup warning](https://code.claude.com/docs/en/errors.md#matches-no-tool) says so. Use the canonical names listed in the [tools reference](https://code.claude.com/docs/en/tools-reference.md).
104104
105#### Allow a file tool outside the working directories
106
107With an `Edit(*)`, `Write(*)`, or `NotebookEdit(*)` allow rule, you pre-approve the tool only in the [working directories](#working-directories). To pre-approve paths outside them too, write the bare name of each tool you want, such as `Edit` or `Read`. Some calls still aren't pre-approved, such as writes to [protected paths](https://code.claude.com/docs/en/permission-modes.md#protected-paths) and reads from [network paths](#network-paths).
108
109When the startup warning says your `Read(*)` rule `adds nothing to Read's default`, you can delete the rule from your settings file.
110
111> [!WARNING]
112>
113> Don't rely on a file-tool `(*)` allow rule to keep the tool in the working directories. Versions before v2.1.317 treat the rule as the bare name, and later versions can too if Anthropic turns the working-directory limit off. Instead, [block file-tool reads and writes outside the working directories](#block-file-tool-reads-and-writes-outside-the-working-directories).
114
105115### Use specifiers for fine-grained control
106116
107117Add a specifier in parentheses to match specific tool uses:
No line in this hunk matches that.