When Claude wants to use a tool, Claude Code can show a permission card asking you to allow or decline it. The answer can be passed on to wherever the tool actually runs. That answer now carries more details:
- An allow answer can include
read_baseline,detached_agentandfollows_mcp_tasks. - A decline answer can include
feedbackandpermission_mode. - The step also receives the main model in use and the ID of the tool request.
Claude Code now also checks the folder the permission card was asked from. If that folder cannot be used, the tool is not run and Claude gets a message saying it "was not run: the directory where it asked for permission" could not be used.
This tightens how a permission you give in one place applies when the tool runs somewhere else, so a tool does not run in a folder you were not asked about.