Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

567 pages for command.

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

admin-api Claude Developer Platform · in the page manage-claude/admin-api …are short-lived. If requests start returning 401, re-run the `export` command to refresh the token. The SDK and the `ant` CLI read `ANTHROPIC_AUTH_TOKEN` automatically. Leave `ANTHROPIC_API_KEY` unse… authentication Claude Developer Platform · in the page manage-claude/authentication …: "Hello, Claude"}] }' ``` ```bash CLI # Required on every command for a multi-workspace key. # Omit --workspace-id for a single-workspace key. ant messages create \ --workspace-id… cmek-aws-kms Claude Developer Platform · in the page manage-claude/cmek-aws-kms …`kms:CreateKey` and `kms:PutKeyPolicy`). * To create the key from the command line, the [AWS CLI](https://aws.amazon.com/cli/) installed and authenticated. * To register the key through the API, an An… cmek-azure-key-vault Claude Developer Platform · in the page manage-claude/cmek-azure-key-vault …Open Cloud Shell from the portal's top navigation bar. Run this command: ```bash az ad sp create --id 8635ae1a-3e5d-44e8-a4ed-e0f614466f87 ``` If the service pr… cmek-claude-platform-on-aws Claude Developer Platform · in the page manage-claude/cmek-claude-platform-on-aws …kms:CreateKey` and `kms:PutKeyPolicy`). * To create the key from the command line, the [AWS CLI](https://aws.amazon.com/cli/) installed and authenticated. * The **Admin** role in the Claude Console… cmek-google-cloud-kms Claude Developer Platform · in the page manage-claude/cmek-google-cloud-kms …gging/docs/audit/configure-data-access). * To create the key from the command line, the [`gcloud` CLI](https://cloud.google.com/cli) installed and authenticated. * To register the key through the API,… inference-hooks Claude Developer Platform · in the page manage-claude/inference-hooks …ll in Slack, so the edit or deletion comes first. See the [`!restart` command](https://claude.com/docs/claude-tag/users/commands#restart-a-stuck-or-wrong-context-session). *** ## Use cases * **Data… inference-hooks-endpoint Claude Developer Platform · in the page manage-claude/inference-hooks-endpoint …u_01HiJkLmNoPqRsTuVwXyZaBc", "tool_name": "bash", "input": { "command": "ls -la reports/" }, "tool_info": { "type": "client", "tool_type": "bash_20250124" } } ``` ## Return a ve… plugins-api Claude Developer Platform · in the page manage-claude/plugins-api …ds when a task calls for it. | | Command | A saved prompt a member runs by typing `/` followed by the command's name. | | Agent… user-profiles Claude Developer Platform · in the page manage-claude/user-profiles …who can manage IAM in the AWS account or Google Cloud project runs a command that the portal provides. 3. The admin or owner completes the verification in the portal. Programs that apply to a profil… wif-admin-api Claude Developer Platform · in the page manage-claude/wif-admin-api …s are short-lived; if requests start returning 401, re-run the export command (it refreshes the token automatically). The SDK and the `ant` CLI read `ANTHROPIC_AUTH_TOKEN` automatically; leave `ANTHR… aws Claude Developer Platform · in the page manage-claude/wif-providers/aws …redentials/oidc-federation"; import { STSClient, GetWebIdentityTokenCommand } from "@aws-sdk/client-sts"; const sts = new STSClient({ region: "us-east-1" }); async function getStsWebIdentityTo… Create the app registration that represents the Claude API audience. Claude Developer Platform · in the page manage-claude/wif-providers/azure …nfirm the claims your federation rule needs to match. (For the decode command, see [Troubleshoot a failed exchange](https://platform.claude.com/docs/en/manage-claude/wif-reference#troubleshoot-a-faile… kubernetes Claude Developer Platform · in the page manage-claude/wif-providers/kubernetes …the [`--service-account-issuer`](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/) flag configured on the API server. Most distributions set this by default; kubeadm c… Replace NODE_UID with the node's UID: Claude Developer Platform · in the page manage-claude/wif-providers/spiffe …ts the calling process. For a Kubernetes registration entry, run this command inside a pod that satisfies the entry's selectors and has the agent socket mounted (for example, by using `kubectl exec`).… workload-identity-federation Claude Developer Platform · in the page manage-claude/workload-identity-federation …en/cli-sdks-libraries/cli/authentication#check-authentication-status) command reports which source won. </Warning> For the full precedence table, the per-tier semantics, and the profile file schema,… choosing-an-environment Claude Developer Platform · in the page managed-agents/choosing-an-environment …x is an isolated workspace, such as a container, where the agent runs commands and works on files. You have two options: * **Cloud environment:** Anthropic runs the sandbox for you. Each session gets… environments Claude Developer Platform · in the page managed-agents/environments …ds such as `git push` and package publishing, with any credential the command supplies. If the agent processes untrusted input (repository files, fetched web content, or third-party tool output), a su… event-deltas Claude Developer Platform · in the page managed-agents/event-deltas …nguage="cURL"> This workflow needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) to run it. </CodeGroupItem> <C… events-and-streaming Claude Developer Platform · in the page managed-agents/events-and-streaming …nguage="cURL"> This workflow needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) to run it. </CodeGroupItem> <C… memory Claude Developer Platform · in the page managed-agents/memory …the worker's file tools refuse to write to them, and anything a shell command writes there is never synced to a store. For a `read_only` store, the worker's `write` and `edit` tools refuse changes… migration Claude Developer Platform · in the page managed-agents/migration …nguage="cURL"> This workflow needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) to run it. </CodeGroupItem> <C… overview Claude Developer Platform · in the page managed-agents/overview …you get a fully managed environment where Claude can read files, run commands, browse the web, and run code securely. The harness supports built-in prompt caching, compaction, and other performance o… permission-policies Claude Developer Platform · in the page managed-agents/permission-policies …ll agent toolset by default but requires confirmation before any bash command runs: <CodeGroup defaultLanguage="CLI"> ```bash cURL curl -fsSL https://api.anthropic.com/v1/agents \ -H "x-api-k… quickstart Claude Developer Platform · in the page managed-agents/quickstart …aude-lock.json` too. To create the agent and the environment with one command, pass both files: `ant apply coding-assistant.md environment.yaml`. </CodeGroupItem> <CodeGroupItem>… secure-deployment Claude Developer Platform · in the page managed-agents/secure-deployment …untrusted input has a tool on `always_allow` that writes files, runs commands, or changes records… secure-deployment-risks Claude Developer Platform · in the page managed-agents/secure-deployment-risks …| | An open network lets data out | A bash command posts a file to an outside host | [Limit… spawn.sh: called once per claimed work item Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes …boxEnv { args = append(args, "-e", name) } launcher := exec.CommandContext(ctx, "docker", append(args, "your-sdk-worker-image")...) launcher.Env = append(os.Environ(), "ANTHROPIC_WORK… self-hosted-sandboxes-reference Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-reference …de.com/docs/en/managed-agents/self-hosted-sandboxes-workers). ## CLI commands and flags | Command | Description… self-hosted-sandboxes-security Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-security …et`). Other processes in the sandbox can still change the local copy: commands the agent runs through the `bash` tool, and [custom tools](https://platform.claude.com/docs/en/managed-agents/self-hosted… self-hosted-sandboxes-workers Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-workers …ching a sandbox for each session needs more logic than a single shell command. From the shell, run `ant beta:worker poll --on-work` with a spawn script, as in [Run one sandbox per session](https://pla… session-threads Claude Developer Platform · in the page managed-agents/session-threads …nguage="cURL"> This workflow needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) to run it. </CodeGroupItem> <C… tools Claude Developer Platform · in the page managed-agents/tools …---------------------------- | | Bash | `bash` | Run bash commands in a shell session | | Read | `read` | Read a file from the sandbox filesystem… workflow-runs Claude Developer Platform · in the page managed-agents/workflow-runs …nguage="cURL"> This workflow needs more logic than a single shell command. Use the [Claude SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) to run it. </CodeGroupItem> <C… migration-guide Claude Developer Platform · in the page models/haiku-5-5/migration-guide …` (tool name `str_replace_based_edit_tool`), which has no `undo_edit` command. See [Text editor tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/text-editor-tool). * **Stop reasons:… migration-guide Claude Developer Platform · in the page models/opus-5-5/migration-guide …e to the current tool versions. Remove any code using the `undo_edit` command. <CodeGroup exclude="shell"> ```python Python # Before tools = [{"type": "text_editor_20250124", "name"… migration-guide Claude Developer Platform · in the page models/sonnet-5-5/migration-guide …, with the tool name `str_replace_based_edit_tool` and no `undo_edit` command. Use `code_execution_20260521`. See the [text editor tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/t… overview Claude Developer Platform · in the page release-notes/overview …cs/en/managed-agents/overview). * We've launched the **`ant` CLI**, a command-line client for the Claude API that enables faster interaction with the Claude API, native integration with Claude Code, a… claude-fable-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-fable-5 …ng tool that lets developers delegate coding tasks to Claude from the command line, desktop app, or mobile app, and through Claude Cowork, an agentic knowledge-work desktop app for non-developers. Bot… claude-fable-5-1 Claude Developer Platform · in the page release-notes/system-prompts/claude-fable-5-1 …ng tool that lets developers delegate coding tasks to Claude from the command line, desktop app, or mobile app, and through Claude Cowork, an agentic knowledge-work desktop app for non-developers. Bot… claude-haiku-3-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-haiku-3-5 …0250219'. Claude is accessible via 'Claude Code', which is an agentic command line tool available in research preview. 'Claude Code' lets developers delegate coding tasks to Claude directly from their… claude-haiku-4-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-haiku-4-5 …ng tool that lets developers delegate coding tasks to Claude from the command line, desktop app, or mobile app, and through Claude Cowork, an agentic knowledge-work desktop app for non-developers. Bot… claude-haiku-5-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-haiku-5-5 …ng tool that lets developers delegate coding tasks to Claude from the command line, desktop app, or mobile app, and through Claude Cowork, an agentic knowledge-work desktop app for non-developers. Bot… claude-opus-4 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4 …ing 'claude-opus-4-20250514'. Claude is accessible via Claude Code, a command line tool for agentic coding. Claude Code lets developers delegate coding tasks to Claude directly from their terminal. If… claude-opus-4-1 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-1 …g 'claude-opus-4-1-20250805'. Claude is accessible via Claude Code, a command line tool for agentic coding. Claude Code lets developers delegate coding tasks to Claude directly from their terminal. If… claude-opus-4-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-5 …u-4-5-20251001' respectively. Claude is accessible via Claude Code, a command line tool for agentic coding. Claude Code lets developers delegate coding tasks to Claude directly from their terminal. Cl… claude-opus-4-6 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-6 …u-4-5-20251001' respectively. Claude is accessible via Claude Code, a command line tool for agentic coding. Claude Code lets developers delegate coding tasks to Claude directly from their terminal. Cl… claude-opus-4-7 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-7 …hat lets developers delegate coding tasks to Claude directly from the command line, desktop app, or mobile app. Claude can be used via Claude Cowork, an agentic knowledge work tool for non-developers… claude-opus-4-8 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-8 …ng tool that lets developers delegate coding tasks to Claude from the command line, desktop app, or mobile app, and through Claude Cowork, an agentic knowledge-work desktop app for non-developers. Bot… claude-opus-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-5 …ng tool that lets developers delegate coding tasks to Claude from the command line, desktop app, or mobile app, and through Claude Cowork, an agentic knowledge-work desktop app for non-developers. Bot…
Feedback