258 pages for glob.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
First request
Claude Developer Platform · in the page
manage-claude/usage-cost-api
…IN_KEY" ``` You can also filter to a specific geo. Valid values are `global`, `us`, and `not_available`: ```bash cURL curl "https://api.anthropic.com/v1/organizations/usage_report/messages?\ startin…
aws
Claude Developer Platform · in the page
manage-claude/wif-providers/aws
…ssuer URL** field with a value of the form `https://<uuid>.tokens.sts.global.api.aws`. This URL is unique to your AWS account; copy it for the next step. To retrieve it programmatically: ```bash…
agent-setup
Claude Developer Platform · in the page
managed-agents/agent-setup
…eo`) alongside `id` (csharp, go: `ID`). The field accepts `"us"` or `"global"`. When it's unset, each model request follows the workspace's default inference geo at the time it's served. See [Data res…
event-deltas
Claude Developer Platform · in the page
managed-agents/event-deltas
…-agents/event-deltas#preview-session-thread-events). `[]` is a shell glob pattern, so quote the URL whenever you build the request in a shell. The examples percent-encode the brackets as `%5B%5D`, wh…
overview
Claude Developer Platform · in the page
managed-agents/overview
…ell commands in the sandbox * **File operations:** Read, write, edit, glob, and grep files in the sandbox * **Web search and fetch:** Search the web and retrieve content from URLs, optionally restrict…
secure-deployment
Claude Developer Platform · in the page
managed-agents/secure-deployment
…-------------------------------------------------------- | | `read`, `glob`, `grep` | `always_allow`…
spawn.sh: called once per claimed work item
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes
…nload the session's skills. The file tools (`read`, `write`, `edit`, `glob`, `grep`) are confined to the working directory plus any directories listed in `allowed_roots` (typescript: `allowedRoots`; g…
self-hosted-sandboxes-reference
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-reference
…the working directory, that the file tools (`read`, `write`, `edit`, `glob`, `grep`) can reach. | | `read_only_roots` (typescript: `readOnlyRoots`; go: `ReadOnlyRoots`) | Directories under which `writ…
tools
Claude Developer Platform · in the page
managed-agents/tools
…t` | Perform string replacement in a file | | Glob | `glob` | Perform fast file pattern matching using glob patterns | | Grep | `grep` | Search text usi…
Models overview
Claude Developer Platform · in the page
models/overview
…drock’s InvokeModel integration shows that ID instead. Bedrock offers global endpoints (dynamic routing) and regional endpoints (guaranteed data routing) for Claude Sonnet 4.5 and later, and sets its…
overview
Claude Developer Platform · in the page
release-notes/overview
…ion member saved as **Instructions for Claude** in claude.ai and as **Global instructions** in Cowork, in beta for Claude Enterprise organizations. Call `GET /v1/compliance/organizations/{org_uuid}/us…
handle-streaming-refusals
Claude Developer Platform · in the page
test-and-evaluate/strengthen-guardrails/handle-streaming-refusals
…rsation(): """Reset conversation context after refusal""" global messages messages = [] print("Conversation reset due to refusal") try: with client.messages.stream(…
increase-consistency
Claude Developer Platform · in the page
test-and-evaluate/strengthen-guardrails/increase-consistency
…ssistant wrap <competitor> <name>AcmeGiant</name> <overview>Global tech leader with a vast ecosystem of consumer and enterprise products. Known for innovation, strong brand, and deep custome…
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…tion ("what files are here?") might take one or two turns of calling `Glob` and responding with the results. A complex task ("refactor the auth module and update the tests") can chain dozens of tool c…
Use Claude Code features in the SDK
Claude Code CLI · in the page
agent-sdk/claude-code-features
…what you configure programmatically. Managed policy settings and the global `~/.claude.json` config are read regardless of this option. For more information, see [What settingSources does not control…
Configure your agent
Claude Code CLI · in the page
agent-sdk/configuration
…options: { model: "claude-sonnet-5", allowedTools: ["Read", "Glob", "Grep"], maxTurns: 8, cwd: "/path/to/repo", }, })) { if (message.type === "result" && message.subtype === "succ…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…e tool name. Built-in tools include `Bash`, `Read`, `Write`, `Edit`, `Glob`, `Grep`, `WebFetch`, `Agent`, and others. See [Tool Input Types](/docs/en/agent-sdk/typescript.md#tool-input-types) for the…
Hosting the Agent SDK
Claude Code CLI · in the page
agent-sdk/hosting
…t a per-tenant directory so tenants do not share the `~/.claude.json` global config. When each config directory serves one working directory and you don't pass a [`SessionStore`](/docs/en/agent-sdk/se…
Configure permissions
Claude Code CLI · in the page
agent-sdk/permissions
…["*"]` | Every tool definition is removed from the request. Tool-name globs are supported in deny rules: `"*"` matches every tool and `"mcp__*"` matches every MCP tool across all servers. | Allow rul…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…``` | Value | Description | Location | | :- | :- | :- | | `"user"` | Global user settings | `~/.claude/settings.json` | | `"project"` | Shared project settings (version controlled) | `.claude/setting…
Quickstart
Claude Code CLI · in the page
agent-sdk/quickstart
…tions=ClaudeAgentOptions( allowed_tools=["Read", "Edit", "Glob"], # Auto-approve these tools permission_mode="acceptEdits", # Auto-approve file edits ), ):…
Securely deploying AI agents
Claude Code CLI · in the page
agent-sdk/secure-deployment
…n be configured to allow, block, or prompt the user for approval. Use glob patterns to create rules like "allow all npm commands" or "block any command with sudo". Organizations can set policies that…
Work with sessions
Claude Code CLI · in the page
agent-sdk/sessions
…options = ClaudeAgentOptions( allowed_tools=["Read", "Edit", "Glob", "Grep"], ) async with ClaudeSDKClient(options=options) as client: # First query: client captures the sessi…
Extend agents with skills
Claude Code CLI · in the page
agent-sdk/skills
…session's tools. The example below pre-approves `Read`, `Grep`, and `Glob` with `allowedTools` (`allowed_tools` in Python), so Claude can inspect files while running the [security-check skill](#creat…
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…Auto-approve these tools allowed_tools=["Read", "Grep", "Glob", "Agent"], agents={ "code-reviewer": AgentDefinition( # description tells Cl…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…``` | Value | Description | Location | | :- | :- | :- | | `'user'` | Global user settings | `~/.claude/settings.json` | | `'project'` | Shared project settings (version controlled) | `.claude/setting…
Handle approvals and user input
Claude Code CLI · in the page
agent-sdk/user-input
…ude's capabilities (for example, a read-only agent with only `Read`, `Glob`, and `Grep`), include `AskUserQuestion` in that array. Otherwise, Claude won't be able to ask clarifying questions: ```pyth…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…us.` | | `eu-*` | `eu.` | | `ap-*` | `apac.` | | All other regions | `global.` | Set `ANTHROPIC_BEDROCK_REGION_PREFIX` to choose the prefix Claude Code tries first; when Claude Code can check profile…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…ription: Reviews code for security vulnerabilities tools: Read, Grep, Glob, Bash model: opus --- You are a senior security engineer. Review code for: - Injection vulnerabilities (SQL, XSS, command inj…
Claude Code changelog
Claude Code CLI · in the page
changelog
…ide the sandbox before each command * Fixed macOS sandbox `denyWrite` glob patterns not applying at a path's real location when the pattern's folder is reached through a symlink * Fixed sandboxed comm…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…managed policy `env` block | | First-party-only optimizations such as global cache scope and token-efficient tools | Not available | The CLI doesn't enable them on gateway sessions; see the beta-heade…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…ach a service account to the GCE or Cloud Run instance. Set `region: global` to use the [global endpoint for Google Cloud's Agent Platform](https://cloud.google.com/vertex-ai/generative-ai/docs/learn…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…ppends to every secret's ARN. A trailing `-*` would be a plain prefix glob and would also match longer names such as `gateway-postgres-url-prod`. The IAM policy grants the gateway permission to call…
Deploy Claude apps gateway on Google Cloud
Claude Code CLI · in the page
claude-apps-gateway-on-gcp
…cloud compute addresses create "google-managed-services-${VPC}" \ --global --purpose=VPC_PEERING --prefix-length=16 --network="$VPC" gcloud services vpc-peerings connect \ --service=servicenetwork…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…'Permissions, hooks, and configuration', when: <>Overrides global <C>~/.claude/settings.json</C>. Local settings, CLI flags, and managed settings override this</>, description: 'S…
Claude Code on Claude Platform on AWS
Claude Code CLI · in the page
claude-platform-on-aws
…convenient way to scope the key to your machine without exporting it globally. > [!NOTE] > > The `/login` and `/logout` commands don't sign you into a claude.ai subscription for Claude Platform on A…
claude-tag
Claude Code CLI · in the page
claude-tag
…f,g,h=[];try{h=window.location.pathname.split("/").filter(a=>""!==a&&"global"!==a).slice(0,2)}catch{h=[]}let i=h.map(a=>c.find(b=>b.toLowerCase()===a.toLowerCase())).find(a=>void 0!==a),j=[];for(let c…
CLI reference
Claude Code CLI · in the page
cli-reference
…sh,Edit,Read"`. On macOS, Linux, and WSL, the default set leaves out `Glob` and `Grep`, as described under [Glob tool behavior](/docs/en/tools-reference#glob-tool-behavior). If you name one of the [ta…
Let Claude use your computer from the CLI
Claude Code CLI · in the page
computer-use
…on-screen prompts in your session can't feed back into the model. * **Global escape**: the `Esc` key aborts computer use from anywhere, and the key press is consumed so prompt injection can't use it t…
Explore the context window
Claude Code CLI · in the page
context-window
…tokens: 320, color: '#6A9BCC', vis: 'hidden', desc: 'Your global preferences. Applies to every project. Loaded alongside project instructions at the start of every conversation.', link…
Run Claude Code behind a corporate launcher
Claude Code CLI · in the page
corporate-launcher
…cc"]`. * Shell syntax doesn't work: there is no variable expansion or globbing, and an unquoted operator such as `;`, `|`, `&`, or `$(` is rejected as a configuration error rather than reinterpreted.…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…[hook configuration](/docs/en/hooks.md). | | Permissions or hooks set globally are ignored | Configuration was added to `~/.claude.json` | `~/.claude.json` holds app state and UI toggles. `permissions…
Launch sessions from links
Claude Code CLI · in the page
deep-links
…de](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent) the value. Use `%0A` for line breaks in multi-line prompts. Maximum 5,000 characters. | | `cwd`…
Claude Desktop on Linux (beta)
Claude Code CLI · in the page
desktop-linux
…ion](/docs/en/voice-dictation.md) in the CLI instead. * **Quick Entry global hotkey**: works on X11. On native Wayland it requires your desktop environment's GlobalShortcuts portal. * **Fedora and RHE…
Development containers
Claude Code CLI · in the page
devcontainer
…utside that directory: [`~/.claude.json`](/docs/en/settings-reference#global-config-settings). To keep the directory and the file, mount a named volume at `~/.claude` and set [`CLAUDE_CONFIG_DIR`](/d…
Environment variables
Claude Code CLI · in the page
env-vars
…-region inference profile prefix (`us`, `eu`, `apac`, `jp`, `au`, or `global`) Claude Code tries first instead of the one derived from the AWS region. Ignored in AWS GovCloud regions. Requires Claude…
Error reference
Claude Code CLI · in the page
errors
…ssion-checks) | | `Write(<path>) never matches · use Edit(<path>)` / `Glob(<path>) never matches · use Read(<path>)` | [Configuration warnings](#is-not-matched-by-file-permission-checks) | | `... has…
Claude Code GitLab CI/CD
Claude Code CLI · in the page
gitlab-ci-cd
…`//iam.googleapis.com/` prefix, such as `projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider`) * `GCP_SERVICE_ACCOUNT` (service account email) * `GCP_PROJECT_…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…on configuration Claude Code supports Google Cloud's Agent Platform [global](https://cloud.google.com/blog/products/ai-machine-learning/global-endpoint-for-claude-models-generally-available-on-vertex…
Hooks reference
Claude Code CLI · in the page
hooks
…onsLoaded` | load reason | `session_start`, `nested_traversal`, `path_glob_match`, `include`, `compact` | | `UserPromptExpansion` | command name | your skill or command names | | `Elicitation` | MCP s…