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

100 pages for grep.

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

ticket-routing Claude Developer Platform · in the page about-claude/use-case-guides/ticket-routing …sification_prompt }] ) reasoning_and_intent = message.content.grep(Anthropic::Models::TextBlock).first&.text || "" # Use a regular expression to extract `reasoning`. reasoning = reaso… PDF Processing Claude Developer Platform · in the page agents-and-tools/agent-skills/best-practices …reference/marketing.md) ## Quick search Find specific metrics using grep: ```bash grep -i "revenue" reference/finance.md grep -i "pipeline" reference/sales.md grep -i "api usage" reference/product.… deploy-helm Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/deploy-helm …ease name other than `mcp-tunnel`, run `helm template <release> ... | grep -A2 'kind: ServiceAccount'` to confirm it before creating the rule. The rest of this guide assumes release name `mcp-tunnel`… quickstart Claude Developer Platform · in the page agents-and-tools/mcp-tunnels/quickstart …docker compose up -d docker compose logs mcp-proxy | grep "route configured" docker compose logs cloudflared | grep "Registered tunnel connection" ``` </Tab>… advisor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/advisor-tool …the same or an earlier turn. Read-only orientation commands (ls, cat, grep, find) are not state-changing. This is a checkpoint, not a difficulty judgment. It applies to one-line edits too. ``` **Cave… bash-tool Claude Developer Platform · in the page agents-and-tools/tool-use/bash-tool …import shlex ALLOWED_COMMANDS = {"ls", "cat", "echo", "pwd", "grep", "find", "wc", "head", "tail"} SHELL_OPERATORS = {"&&", "||", "|", ";", "&", ">", "<", ">>"} def validate_comm… code-execution-tool Claude Developer Platform · in the page agents-and-tools/tool-use/code-execution-tool …so includes command-line tools such as unzip, unrar, 7zip, bc, rg (ripgrep), fd, and sqlite. The container has no internet access, so Claude can't download or install additional packages at runtime:… Agents Claude Developer Platform · in the page api/beta/agents …not reach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfigParams object` Configuration override for the grep tool. - `type: optional "grep"` - `nam… Archive Agent Claude Developer Platform · in the page api/beta/agents/archive …t reach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"` - `enabled: boolean`… Create Agent Claude Developer Platform · in the page api/beta/agents/create …not reach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfigParams object` Configuration override for the grep tool. - `type: optional "grep"` - `nam… List Agents Claude Developer Platform · in the page api/beta/agents/list …t reach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"` - `enabled: boolean`… Get Agent Claude Developer Platform · in the page api/beta/agents/retrieve …t reach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"` - `enabled: boolean`… Update Agent Claude Developer Platform · in the page api/beta/agents/update …not reach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfigParams object` Configuration override for the grep tool. - `type: optional "grep"` - `nam… Versions Claude Developer Platform · in the page api/beta/agents/versions …t reach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"` - `enabled: boolean`… List Agent Versions Claude Developer Platform · in the page api/beta/agents/versions/list …t reach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"` - `enabled: boolean`… Sessions Claude Developer Platform · in the page api/beta/sessions …reach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfigParams object` Configuration override for the grep tool. - `type: optional "grep"`… Archive Session Claude Developer Platform · in the page api/beta/sessions/archive …judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"`… Create Session Claude Developer Platform · in the page api/beta/sessions/create …reach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfigParams object` Configuration override for the grep tool. - `type: optional "grep"`… Events Claude Developer Platform · in the page api/beta/sessions/events …dgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"`… List Events Claude Developer Platform · in the page api/beta/sessions/events/list …dgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"`… Stream Events Claude Developer Platform · in the page api/beta/sessions/events/stream …dgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"`… List Sessions Claude Developer Platform · in the page api/beta/sessions/list …judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"`… Get Session Claude Developer Platform · in the page api/beta/sessions/retrieve …judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"`… Threads Claude Developer Platform · in the page api/beta/sessions/threads …ach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"` - `enabled:… Archive Session Thread Claude Developer Platform · in the page api/beta/sessions/threads/archive …ach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"` - `enabled:… Events Claude Developer Platform · in the page api/beta/sessions/threads/events …dgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"`… List Session Thread Events Claude Developer Platform · in the page api/beta/sessions/threads/events/list …dgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"`… Stream Session Thread Events Claude Developer Platform · in the page api/beta/sessions/threads/events/stream …dgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"`… List Session Threads Claude Developer Platform · in the page api/beta/sessions/threads/list …ach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"` - `enabled:… Get Session Thread Claude Developer Platform · in the page api/beta/sessions/threads/retrieve …ach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfig object` Configuration for the grep tool. - `type: "grep"` - `enabled:… Update Session Claude Developer Platform · in the page api/beta/sessions/update …t reach a judgement on evaluates to ask. - `BetaManagedAgentsGrepToolConfigParams object` Configuration override for the grep tool. - `type: optional "grep"`… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …e, the model might spawn subagents for code exploration when a direct grep call is faster and sufficient. Claude Opus 5 also delegates to subagents more readily than prior models; see [Controlling sub… task-budgets Claude Developer Platform · in the page build-with-claude/task-budgets …aude spends another 4,000 tokens on thinking and a second tool call (`grep -rn "eval(" src/`). The countdown ends near `remaining` ≈ 88,200. **Request 3.** Full history resent again with the second t… using Claude Developer Platform · in the page cli-sdks-libraries/cli/using …f YAML documents in `yaml` mode), which streams cleanly into `head`, `grep`, and `--transform` filters. ### Interactive explorer The explorer is a fold-and-search TUI for browsing large responses. A… cloud-sandboxes-reference Claude Developer Platform · in the page managed-agents/cloud-sandboxes-reference …ystems * `docker` - Container management (limited availability) * `ripgrep` (`rg`) - Fast file search ### Text processing * `sed`, `awk`, `grep` - Stream editors * `vim`, `nano` - Text editors * `di… overview Claude Developer Platform · in the page managed-agents/overview …ds 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 restricted to an a… 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 …e 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`; go: `Allo… self-hosted-sandboxes-reference Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-reference …ing directory, that the file tools (`read`, `write`, `edit`, `glob`, `grep`) can reach. | | `read_only_roots` (typescript: `readOnlyRoots`; go: `ReadOnlyRoots`) | Directories under which `write` and `… tools Claude Developer Platform · in the page managed-agents/tools …b` | Perform fast file pattern matching using glob patterns | | Grep | `grep` | Search text using regex patterns | | Web fetch | `web_fetch` | Fetch content f… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …`, `Write` | Read, modify, and create files | | **Search** | `Glob`, `Grep` | Find files by pattern, search content with regex | | **Execution** | `Bash` | Run shell commands, scripts, git operations… Use Claude Code features in the SDK Claude Code CLI · in the page agent-sdk/claude-code-features …ject"], skills="all", allowed_tools=["Read", "Grep", "Glob"], ), ): if isinstance(message, ResultMessage) and message.subtype == "success": prin… Configure your agent Claude Code CLI · in the page agent-sdk/configuration …: { model: "claude-sonnet-5", allowedTools: ["Read", "Glob", "Grep"], maxTurns: 8, cwd: "/path/to/repo", }, })) { if (message.type === "result" && message.subtype === "success" &&… Give Claude custom tools Claude Code CLI · in the page agent-sdk/custom-tools …in. | Option | Layer | Effect | | :- | :- | :- | | `tools: ["Read", "Grep"]` | Availability | Only the listed built-ins are in Claude's context. Unlisted built-ins are removed. MCP tools are unaffect… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …ame. 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 full lis… Configure permissions Claude Code CLI · in the page agent-sdk/permissions …thin one. | Option | Effect | | :- | :- | | `allowed_tools=["Read", "Grep"]` | `Read` and `Grep` are auto-approved, apart from [reads from network paths](/docs/en/permissions.md#network-paths). Other… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …), }, allowed_tools=["Read", "Grep", "Glob"], ), ): print(message) asyncio.run(main()) ``` To load CLAUDE.md project instructions, includ… Quickstart Claude Code CLI · in the page agent-sdk/quickstart …n do: | Tools | What the agent can do | | - | - | | `Read`, `Glob`, `Grep` | Read-only analysis | | `Read`, `Edit`, `Glob` | Analyze and modify code | | `Read`, `Edit`, `Bash`, `Glob`, `Grep` | Full… Work with sessions Claude Code CLI · in the page agent-sdk/sessions …= ClaudeAgentOptions( allowed_tools=["Read", "Edit", "Glob", "Grep"], ) async with ClaudeSDKClient(options=options) as client: # First query: client captures the session ID in… Extend agents with skills Claude Code CLI · in the page agent-sdk/skills …run with the 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 s…
Feedback