Search the documentation
12 pages for permissiondenied.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
java
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/java
…| | 401 | `UnauthorizedException` | | 403 | `PermissionDeniedException` | | 404 | `NotFoundException` | | 422 | `UnprocessableEntityException` | | 429…
php
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/php
…401 | `AuthenticationException` | | HTTP 403 | `PermissionDeniedException` | | HTTP 404 | `NotFoundException` | | HTTP 409 | `ConflictException`…
For Amazon Bedrock support
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/python
…| | 401 | `AuthenticationError` | | 403 | `PermissionDeniedError` | | 404 | `NotFoundError` | | 409 | `ConflictError` | | 422…
Automatically handles tool execution loop
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/ruby
…HTTP 401 | `AuthenticationError` | | HTTP 403 | `PermissionDeniedError` | | HTTP 404 | `NotFoundError` | | HTTP 409 | `ConflictError` | |…
typescript
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/typescript
…| | 401 | `AuthenticationError` | | 403 | `PermissionDeniedError` | | 404 | `NotFoundError` | | 409 | `ConflictError` | | 422…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…| | `PermissionDenied` | No | Yes | Auto mode denies a tool call, including deni…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…essage | SDKRateLimitEvent | SDKElicitationCompleteMessage | SDKPermissionDeniedMessage | SDKPromptSuggestionMessage | SDKAPIRetryMessage | SDKMirrorErrorMessage | SDKInformationalMessag…
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
…To capture the exact input of these denials programmatically, add a [`PermissionDenied` hook](/docs/en/hooks#permissiondenied), which receives it as `tool_input`. The text beneath the call tells you…
Hooks reference
Claude Code CLI · in the page
hooks
…h Elicitation and ElicitationResult nested inside MCP tool execution, PermissionDenied as a side branch from PermissionRequest for auto-mode denials, WorktreeCreate, WorktreeRemove, Notification, Conf…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…| | `PermissionDenied` | When auto mode denies a tool call, including denials without a classifier verdict. Use JSON `hookSpecificOu…
Plugins reference
Claude Code CLI · in the page
plugins-reference
…| | `PermissionDenied` | When auto mode denies a tool call, including denials without a classifier verdict. Use JSON `hookSpecificOu…
Week 14 · March 30 – April 3, 2026
Claude Code CLI · in the page
whats-new/2026-w14
…lassName="digest-wins-grid"> <div>Auto mode follow-ups: new <code>PermissionDenied</code> hook fires on classifier denials (return <code>retry: true</code> to let Claude try a different approach),…