NachschlagenQuellenregister

Dokumentationerreichbar

Anthropic, Configure permissions (Agent SDK)

code.claude.com (externe Seite)

Die Rechte im Agent SDK: in welcher Reihenfolge Hooks, Verbotsregeln, Rechtemodus, Erlaubnisregeln und der Rückruf canUseTool über einen Werkzeugaufruf entscheiden, und welche Rechtemodi ein Programm setzen kann.

geprüft 10.11.2026

Worauf sich diese Seite beruft, wörtlich, abgerufen am 06.11.2026:

  • When Claude requests a tool, Claude Code checks the call at these stepsbestätigt 10.11.2026
  • A call the tool approves on its own is resolved at this step too, with no rule needed: for example a file read inside your working directories or a read-only Bash commandbestätigt 10.11.2026
  • Auto-approved tools never reach canUseToolbestätigt 10.11.2026
  • In dontAsk mode, this step is skipped and the tool is denied, though a mod you installed can still approve some such calls.bestätigt 10.11.2026

16 Rechte und Sandbox

Alle Quellen

↑↓ auswählenEnter öffnenDie Suche läuft im Browser. Nichts wird übertragen.