Authdog

Authorizing tool calls for Claude Agent SDK

Last updated Oct 22, 2026
View as Markdown

Deny means this call does not run. It is not an allow list. A tool the subject may not call still has to be refused after the bearer is accepted.

After the subject is known

Check Where
Bearer accepted The hook on Claude Agent SDK
Allowed tools Trust-store row, when your process enforces it
The action itself Authorization using the subject

Revoke in Agents stops new tokens when the subject is the OIDC client id. Tokens already issued last until expires_in unless a later check rejects them.

When the token is an RFC 8693 delegation, the person stays the subject and the agent stays the actor. Authorizing the agent as the user skips the delegation.

Read To learn how to
Custom channel auth for Claude Agent SDK Admit the caller
Enriching instructions for Claude Agent SDK What the model is allowed to see
Authorization Pick the check after the subject

Learn more