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

539 pages for temp.

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

reduce-prompt-leak Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/reduce-prompt-leak …t prompt engineering strategies only when **absolutely necessary**. Attempts to leak-proof your prompt can make the LLM’s overall task more complex, which might degrade performance in other parts of t… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …laude receives a rejection message as the tool result and typically attempts a different approach or reports that it couldn't proceed. ### Parallel tool execution When Claude requests multiple tool… Use Claude Code features in the SDK Claude Code CLI · in the page agent-sdk/claude-code-features …efaults"). > [!TIP] > > You can also inject context directly via `systemPrompt` without using CLAUDE.md files. See [Modify system prompts](/docs/en/agent-sdk/modifying-system-prompts.md). Use CLAUDE.… Configure your agent Claude Code CLI · in the page agent-sdk/configuration …https://platform.claude.com/docs/en/api/messages) request parameters `temperature`, `top_p`, and `max_tokens` have no fields on the options object in either language. Set the [effort level](/docs/en/a… Give Claude custom tools Claude Code CLI · in the page agent-sdk/custom-tools …tall httpx ``` ### Weather tool example This example defines a `get_temperature` tool and wraps it in an MCP server, without passing the server to `query`. To run the tool, see [Call a custom tool](… Rewind file changes with checkpointing Claude Code CLI · in the page agent-sdk/file-checkpointing …s not set to `true`) * The session wasn't properly completed before attempting to resume and rewind **Solution**: Ensure `enable_file_checkpointing=True` (Python) or `enableFileCheckpointing: true` (… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …elemetry | | `SessionEnd` | No | Yes | Session termination | Clean up temporary resources | | `Notification` | Yes | Yes | Agent status messages | Send agent status updates to Slack or PagerDuty | | `… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp …CP_TIMEOUT`](/docs/en/env-vars), 30 seconds by default, per connect attempt; the connection fails at that deadline | A server has a cached tool list only when the [MCP discovery cache](/docs/en/mcp.m… Migrate to Claude Agent SDK Claude Code CLI · in the page agent-sdk/migration-guide …: const presetResult = query({ prompt: "Hello", options: { systemPrompt: { type: "preset", preset: "claude_code" } } }); // Or use a custom system prompt: const customResult = query({ pro… Modifying system prompts Claude Code CLI · in the page agent-sdk/modifying-system-prompts …tarting points for it: * **Minimal default**: when you don't set `systemPrompt` in TypeScript or `system_prompt` in Python, the SDK uses a minimal prompt that covers tool calling but omits the rest o… Observability with OpenTelemetry Claude Code CLI · in the page agent-sdk/observability …es telemetry and exports on an interval. On a clean process exit it attempts to flush pending data, but the flush is bounded by a short timeout, so spans can still be dropped if the collector is slow… Configure permissions Claude Code CLI · in the page agent-sdk/permissions …s removed from the request. Claude does not see the tool and cannot attempt it. | | `disallowed_tools=["Bash(rm *)"]` | `Bash` stays available. Calls matching `rm *` [as written](/docs/en/permissions.… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …pt at send time and yield it as one user message.""" readings = {"Temperature": "25°C", "Humidity": "60%"} data = ", ".join(f"{name}: {value}" for name, value in readings.items()) yield {… Quickstart Claude Code CLI · in the page agent-sdk/quickstart …acceptEdits"` to auto-approve file changes. Other options include `systemPrompt`, `mcpServers`, and more. See all options for [Python](/docs/en/agent-sdk/python.md#claudeagentoptions) or [TypeScript](… Securely deploying AI agents Claude Code CLI · in the page agent-sdk/secure-deployment …from persisting changes | | `--tmpfs /tmp:...` | Provides a writable temporary directory that's cleared when the container stops | | `--network none` | Removes all network interfaces; the agent commu… Persist sessions to external storage Claude Code CLI · in the page agent-sdk/session-storage …ion to leave a transcript on local disk, set `CLAUDE_CONFIG_DIR` to a temp directory in `options.env`. A run resumed from the store already deletes its local copy, so it needs no such setting. In Type… Extend agents with skills Claude Code CLI · in the page agent-sdk/skills …cookbook/skills-notebooks-01-skills-introduction): example skills and templates * [Subagents in the SDK](/docs/en/agent-sdk/subagents.md): similar filesystem-based agents with programmatic options * [… Get structured output from agents Claude Code CLI · in the page agent-sdk/structured-outputs …ee [Error handling](#error-handling) for the result you get when no attempt succeeds. If your application shows or logs tool calls, skip the ones named `StructuredOutput` so the mechanism doesn't app… Subagents in the SDK Claude Code CLI · in the page agent-sdk/subagents …facing response, include an instruction to do so in the prompt or `systemPrompt` option you pass to the main `query()` call. > > In v2.1.210 and later, Claude Code [scans the final message for instruc… Scale to many tools with tool search Claude Code CLI · in the page agent-sdk/tool-search …kinds of tools are available to search for. Pass the text in the `systemPrompt` option of `query()` in TypeScript, or `system_prompt` in Python. Use the `claude_code` preset with `append`, which adds… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …e-agent-sdk-linux-x64-musl`. On a development machine the deletion is temporary, since Yarn reinstalls the package on the next dependency change. ### Compile to a single executable When you compile… Handle approvals and user input Claude Code CLI · in the page agent-sdk/user-input …g example asks Claude to create and delete a test file. When Claude attempts each operation, the callback prints the tool request to the terminal and prompts for y/n approval. ```python Python theme=… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …estore in-process teammates. After resuming a session, the lead may attempt to message teammates that no longer exist. If this happens, tell the lead to spawn new teammates. * **Task status can lag**:… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …t deleting. The second press deletes the session even when the stop attempt fails, for example because the [background service isn't responding](#agent-view-says-the-background-service-did-not-respond… Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …environment variables](#export-an-access-key): set an access key, or temporary credentials with a session token, in the current shell only * [SSO profile](#use-an-sso-profile): sign in through IAM Id… Share session output as artifacts Claude Code CLI · in the page artifacts …e a location, Claude writes the page to an HTML or Markdown file in a temporary directory outside your project, then publishes it. The artifact stays private to you until you [share it](#share-an-arti… Authentication Claude Code CLI · in the page authentication …](/docs/en/errors#your-apikeyhelper-script-is-failing) within three attempts. `apiKeyHelper`, `ANTHROPIC_API_KEY`, and `ANTHROPIC_AUTH_TOKEN` apply to the CLI and the surfaces that wrap it, including… Auto mode classifier request charges Claude Code CLI · in the page auto-mode-classifier-billing …release-capabilities) describes. `CLAUDE_CODE_AUTO_MODE_SERVER` is a temporary setting and may be removed in a later release. ## Why the notice appears [Server-side classifier review](/docs/en/perm… Configure auto mode Claude Code CLI · in the page auto-mode-config …t affect what the classifier should treat as risky A useful starting template: fill in the bracketed fields and remove any lines that don't apply. ```json theme={null} { "autoMode": { "environ… Best practices for Claude Code Claude Code CLI · in the page best-practices …. Though Claude occasionally solves problems perfectly on the first attempt, correcting it quickly generally produces better solutions faster. * **`Esc`**: stop Claude mid-action with the `Esc` key.… Claude Code changelog Claude Code CLI · in the page changelog …nd runners it now counts up from your last message and shows failed attempts **2.1.306** October 21, 2026 * Fixed `claude -p` inside cloud sessions reporting "Not logged in" when started without th… Use Claude Code with Chrome Claude Code CLI · in the page chrome …v2.1.216, these sessions could enable Chrome integration, but every attempt to connect to the browser extension failed with a 403 error. > [!NOTE] > > Chrome integration is not available through thir… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …whole number from `1` to `60`, default `5`. Raise it if connection attempts time out when a new gateway instance starts. Requires Claude Code v2.1.274 or later on the gateway server. Earlier versions… Claude apps gateway deployment and operations Claude Code CLI · in the page claude-apps-gateway-deploy …laude Code v2.1.274 or later shows `The gateway is limiting sign-in attempts right now`. A gateway on v2.1.274 or later shows `Too many attempts came from your network address` on the verification pag… Deploy Claude apps gateway on AWS Claude Code CLI · in the page claude-apps-gateway-on-aws …sh` keeps secret values off process argv the same way, passing `0600` temporary files to `--cli-input-json`. Unlike the secrets, `gateway.yaml` itself contains no secret values, because every credent… Explore the .claude directory Claude Code CLI · in the page claude-directory …escription: <>Skills can bundle any supporting files: reference docs, templates, scripts. The skill directory path is prepended to SKILL.md, so Claude can read bundled files by name. For scripts in ba… claude-tag Claude Code CLI · in the page claude-tag …-icon { background-color: #ffffff80; } #prompts-container { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 2rem; } .dropdown-item { padding: 0.25rem 0.5rem; border-radius: 0.375rem… Commands Claude Code CLI · in the page commands …e](/docs/en/artifacts#availability), and an account where the [Design template is available](/docs/en/artifacts#start-from-a-slides-design-or-docs-template); if your organization has turned that templ… Communications kit Claude Code CLI · in the page communications-kit …figure out why." [Quickstart →](/docs/en/quickstart.md) | ### Prompt templates Share these starter prompts with engineers who have installed but aren't sure what to ask. Each one is phrased the way… Manage costs effectively Claude Code CLI · in the page costs …tion level, not per individual user, which means individual users can temporarily consume more than their calculated share when others aren't actively using the service. > [!NOTE] > > If you anticipa… Data usage Claude Code CLI · in the page data-usage …settings](/docs/en/settings.md). Disabling the check means WebFetch attempts to retrieve any URL without consulting the blocklist, so combine it with [`WebFetch` permission rules](/docs/en/permissions… Desktop application Claude Code CLI · in the page desktop …-0` in a terminal on your computer. > [!NOTE] > > If your shell sets temporary AWS credentials, [give the AWS CLI a profile](#use-aws-credentials-in-a-proxycommand) instead of exporting `AWS_*` varia… Environment variables Claude Code CLI · in the page env-vars …Set to `false` to prevent this. Set to `true` to force a connection attempt when auto-detection fails, such as when tmux obscures the parent terminal. Takes precedence over the [`autoConnectIde`](/doc… Error reference Claude Code CLI · in the page errors …o failed).` | [Automatic retries](#automatic-retries) | | `<model> is temporarily unavailable, so auto mode cannot determine the safety of...` | [Server errors](#auto-mode-cannot-determine-the-safety-… Fullscreen rendering Claude Code CLI · in the page fullscreen …e next `Ctrl+o` starts fresh. * **`v`**: writes the conversation to a temporary file and opens it in `$VISUAL` or `$EDITOR`. ## Watch your changes in the diff panel In fullscreen rendering, [`/diff`… Claude Code GitHub Actions Claude Code CLI · in the page github-actions …`@claude` requests so Claude needs fewer turns to finish * Use issue templates to provide context up front * Keep your `CLAUDE.md` concise, since Claude reads it on every run * Set `--max-turns` in `… Claude Code GitLab CI/CD Claude Code CLI · in the page gitlab-ci-cd …xample](#configuration-examples) to exchange the job's OIDC token for temporary AWS credentials at runtime. **Google Cloud's Agent Platform** ### Prerequisites Before setting up Claude Code with Go… Glossary Claude Code CLI · in the page glossary …he concept is covered in depth. For model-level concepts like tokens, temperature, and RAG, see the [platform glossary](https://platform.claude.com/docs/en/about-claude/glossary). For Claude Desktop t… Keep Claude working toward a goal Claude Code CLI · in the page goal …ce starting with `Goal still active` shows the wait before the next attempt. After three automatic retries, the goal pauses instead. * **Pause**: after a failure that a retry would only repeat, such a… Run Claude Code programmatically Claude Code CLI · in the page headless …ird consecutive retry onward. The quiet retries still count toward `attempt`. You can use the event to show retry progress in your own interface. | Field | Type | Description | | - | - | - | | `type`…
Feedback