Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

325 pages for locked.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …tool_use_id: str | None = None agent_id: str | None = None blocked_path: str | None = None decision_reason: str | None = None title: str | None = None display_name: str | None =… Securely deploying AI agents Claude Code CLI · in the page agent-sdk/secure-deployment …sions system**: Permission rules decide whether a tool call runs, is blocked, or asks for approval first. For the forms a Bash rule misses and how rules combine with permission modes, see [What a Bash… Troubleshoot the Agent SDK Claude Code CLI · in the page agent-sdk/troubleshooting …ok not firing, matcher not filtering as expected, hook timeout, tool blocked unexpectedly, modified input not applied, session hooks not available in Python, subagent permission prompts multiplying, r… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …reason` carries the reason code alongside it, so you can explain the blocked state instead of re-deriving availability. Both behaviors require Claude Code v2.1.219 or later. Before v2.1.219, the respo… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …code.claude.com/docs/en/model-config.md#restrict-model-selection), a blocked alias falls back like any other blocked value per the next bullet * **Any other blocked value, including a family alias on… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …n ends. A working row shows what the session says it's doing, and a blocked row shows the question it's asking. During a long turn, the model also rewrites the summary every few minutes so a busy row… Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …and the reply ends with the message configured on the guardrail for blocked responses. ## Use the Mantle endpoint Mantle is an Amazon Bedrock endpoint that serves Claude models through the native A… Claude Approvals and your GitHub rules Claude Code CLI · in the page approvals-github-rules …nd ask for more people in `seats`. Otherwise a pull request can stay blocked after the **Claude Approvals** check passes | | CODEOWNERS | A branch rule can require a Code Owner's review | To name owne… Share session output as artifacts Claude Code CLI · in the page artifacts …rts of an artifact that depend on a library don't work, and unlike a blocked font, a blocked library has no fallback. Block with a fast rejection here too, so a blocked library request fails at once r… Authentication Claude Code CLI · in the page authentication …nMethod` or `forceLoginOrgUUID`. However, a saved Console API key is blocked on a machine that also requires the [gateway](https://code.claude.com/docs/en/claude-apps-gateway) sign-in or in a session… Configure auto mode Claude Code CLI · in the page auto-mode-config …r company's source-control org or writing to a team cloud bucket are blocked until you add them to `autoMode.environment`. This page covers how to: * [Add a human checkpoint](#add-a-human-checkpoint… Best practices for Claude Code Claude Code CLI · in the page best-practices …y-related you want both. By default Claude can still ask to retry a blocked command outside the sandbox, and that request goes through the normal permission flow. [Strict sandbox mode](https://code.c… Champion kit Claude Code CLI · in the page champion-kit …walkthroughs | 0 to 30 minutes | Reserve this for colleagues who are blocked, and offer the [Quickstart](https://code.claude.com/docs/en/quickstart.md) link before scheduling time. | ## Share what yo… Claude Code changelog Claude Code CLI · in the page changelog …and self-hosted runners: when its safety check is refused or may be blocked, Claude or the session's error says so and who can fix it * Improved detection of streamed replies damaged on the way, so f… Push events into a running session with channels Claude Code CLI · in the page channels …you authenticate: * **claude.ai Team and Enterprise**: channels are blocked until an Owner [enables them](#enable-channels-for-your-organization). * **Anthropic Console with API key authentication**:… Channels reference Claude Code CLI · in the page channels-reference …thout --dangerously-load-development-channels to stop`. If you see "blocked by org policy," your organization admin needs to [enable channels](https://code.claude.com/docs/en/channels.md#enterprise-c… Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry Claude Code CLI · in the page claude-apps-gateway …he lock. Before v2.1.223, a value for either key in any admin source blocked the parent's. * **`availableModels`**: Claude Code honors a parent-supplied model list when the winning managed source does… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …Claude Code, the next prompt can pass, and Claude then receives the blocked prompt as part of the conversation | | `user_messages` | `user` messages | Later prompts in the session can be blocked as w… Claude apps gateway deployment and operations Claude Code CLI · in the page claude-apps-gateway-deploy …erve`, `desktop_bootstrap.serve`, `desktop_bootstrap.denied`, `spend.blocked`, `admin.denied`, `admin.limit.upsert`, and `admin.limit.delete`. Fields vary by event: * Successful mint and refresh ev… Deploy Claude apps gateway on Google Cloud Claude Code CLI · in the page claude-apps-gateway-on-gcp …k` rejected with `invoker_iam_disabled is not currently available` | Blocked by `constraints/run.managed.requireInvokerIam` | Use `--allow-unauthenticated`. If Domain Restricted Sharing via `constrain… Claude apps gateway spend limits Claude Code CLI · in the page claude-apps-gateway-spend-limits …one cap per period, and each enforces independently: a developer is blocked if over any of them. | A group or organization cap is a per-seat default that each member inherits, not a shared pool. Per… Let Claude coordinate ongoing work with Projects Claude Code CLI · in the page claude-projects …* "Post shorter updates" or "Only post when something finishes or is blocked" * "Give me a status update on every thread" * "Do this task with a smaller model" * "Don't open a pull request until I've… Configure cloud environments Claude Code CLI · in the page cloud-environments …rough the [agent proxy](#add-network-secrets). If a request is still blocked after that, start a new session. ### Access levels The **Network access** field in the [environment dialog](#configure-yo… Run tool calls from code with Code Mode Claude Code CLI · in the page code-mode …ve in auto mode, the code starts even when the classifier would have blocked it, and its project edits and read-only commands run without a prompt. If Claude reports that the code can't start a subage… Manage costs effectively Claude Code CLI · in the page costs …and again sends a new one. Before v2.1.222, a dismissed request also blocked new requests. On Pro, Max, and Ultra plans, when you reach your spend limit with usage credits left, Claude Code prompts y… Message your other Claude Code sessions Claude Code CLI · in the page cross-session-messaging …on before you notice. When one session settles a question another is blocked on, Claude can send the answer across. A message is a piece of text one Claude writes to another, never the sender's conve… Data usage Claude Code CLI · in the page data-usage …s a hostname that passes the check for five minutes, and re-checks a blocked or failed hostname on the next request. This check runs regardless of which model provider you use and is not affected by… Desktop application Claude Code CLI · in the page desktop …pages, such as typing, in every permission mode. A flagged action is blocked, or prompts you after [repeated blocks](https://code.claude.com/docs/en/permission-modes.md#when-auto-mode-falls-back). * I… Claude Desktop on Linux (beta) Claude Code CLI · in the page desktop-linux …keyring, such as GNOME Keyring or KDE Wallet. If it can't reach an unlocked keyring, your sign-in isn't saved and you sign in again each time you launch the app. You can fix these keyring problems:… Environment variables Claude Code CLI · in the page env-vars …cs/en/monitoring-usage) when Anthropic-bound nonessential traffic is blocked. Survey ratings are emitted only as OTEL events to your configured collector. No survey data is sent to Anthropic in this m… Error reference Claude Code CLI · in the page errors …est errors](#cant-switch-to-the-default-model) | | `Model switch ... blocked by a PreModelSwitch hook` | [Request errors](#model-switch-was-blocked-by-a-premodelswitch-hook) | | `couldn't save it as y… Speed up responses with fast mode Claude Code CLI · in the page fast-mode …hat succeeded in the past keeps working from its cached result, so a blocked check mostly affects new installations. To restore fast mode, allowlist direct egress to `api.anthropic.com`, or set `CLAU… Claude Code with GitHub Enterprise Server Claude Code CLI · in the page github-enterprise-server …ons until they do. ### Manual setup If the guided redirect flow is blocked by your network configuration, click **Connect** or **Add instance**, then select **Add manually** instead of **Set up auto… Run Claude Code programmatically Claude Code CLI · in the page headless …de denies every call that would otherwise prompt, which is useful for locked-down CI runs, though a [mod](https://code.claude.com/docs/en/plugins/mods/overview.md) you installed can still approve some… Set up Claude Code (local mode) for a HIPAA-ready organization Claude Code CLI · in the page hipaa-setup …and connection methods aren't eligible for the configuration. 2. **A blocked policy fetch**: look for an `Organization policy` line in `/status`, which gives the cause. Outside a session, run `claude… Hooks reference Claude Code CLI · in the page hooks …sion: "deny", > permissionDecisionReason: "Destructive command blocked by hook" > } > }' > else > exit 0 # no decision; normal permission flow applies > fi > ``` > > This script, like t… Automate actions with hooks Claude Code CLI · in the page hooks-guide …, the continued task kept hitting the limit, or the continuation was blocked before it reached the model. Doesn't fire when you press `Esc` or `Ctrl+C`, or pick **Don't continue automatically** | | `p… Interactive mode Claude Code CLI · in the page interactive-mode …m `/rate-limit-options` keeps counting down. * **The continuation is blocked**: a [`UserPromptSubmit` hook](https://code.claude.com/docs/en/hooks#userpromptsubmit) that blocks the continuation prompt,… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …allows egress to the gateway, these requests fail and can appear as blocked connections in your egress monitoring. To turn that traffic off, set `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1` alongsid… Control MCP server access for your organization Claude Code CLI · in the page managed-mcp …of approved servers; users add the ones they want, anything else is blocked | `allowedMcpServers` + `allowManagedMcpServersOnly: true` | | **Plugin servers only** | Users can't add servers through `~… Deploy managed settings Claude Code CLI · in the page managed-settings …claude.com/docs/en/settings-reference#strictknownmarketplaces) and [`blockedMarketplaces`](https://code.claude.com/docs/en/settings-reference#blockedmarketplaces) lists when anyone adds a marketplace… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …mcp get <name>`. Turn the server back on from the `/mcp` panel. * `✘ Blocked by enterprise managed policy`: a server that one of your organization's policies refuses. Claude Code shows it in both `cla… Connect to MCP servers Claude Code CLI · in the page mcp-quickstart …aude.com/docs/en/mcp.md#disable-a-server-without-removing-it) | | `✘ Blocked by enterprise managed policy` | One of your organization's policies blocks this server, so Claude Code won't connect. Ask y… Model configuration Claude Code CLI · in the page model-config …plies and can block it or ask you to confirm. To find out why a hook blocked a switch and what to do, see [Model switch was blocked by a PreModelSwitch hook](https://code.claude.com/docs/en/errors.md#… Monitoring Claude Code CLI · in the page monitoring-usage …porter, so set the selectors in managed settings too if you need them locked. Across [admin sources](https://code.claude.com/docs/en/managed-settings.md#precedence-within-the-managed-tier), `OTEL_LOGS… Enterprise network configuration Claude Code CLI · in the page network-config …rts of an artifact that depend on a library don't work, and unlike a blocked font, a blocked library has no fallback. Block with a fast rejection here too, so a blocked library request fails at once r… Choose a permission mode Claude Code CLI · in the page permission-modes …ds/overview.md) you installed can still approve some of those calls | Locked-down CI and scripts | | [`bypassPermissions`](#skip-all-checks-with-bypasspermissions-mode) | Everything | Isolated contain… Configure permissions Claude Code CLI · in the page permissions …denied, a symlink at `./project/key` pointing to `~/.ssh/id_rsa` is blocked: the target fails the allow rule and matches the deny rule. On macOS and Linux, a deny or ask rule written through a symli… Plugin commands reference Claude Code CLI · in the page plugins/cli-reference …plugin at `~/.claude/skills/<name>/`. Unless your administrator has [blocked skills-directory plugins](https://code.claude.com/docs/en/plugins/loading.md#skills-directory-plugins-blocked-by-managed-se… Create a Claude Code plugin Claude Code CLI · in the page plugins/create …n.json` is a skills-directory plugin. Unless your administrator has [blocked skills-directory plugins](https://code.claude.com/docs/en/plugins/loading.md#skills-directory-plugins-blocked-by-managed-se…
Feedback