Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Search the documentation

50 pages for insert.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it. Cut at 50, so a narrower query shows the rest.

optimizing-for-cost-and-intelligence Claude Developer Platform · in the page about-claude/models/optimizing-for-cost-and-intelligence …-for-cost-and-intelligence#trim-input-and-context-tokens) with pauses inserted before some turns to simulate a person's delay[16](https://platform.claude.com/docs/en/about-claude/models/optimizing-for… content-moderation Claude Developer Platform · in the page about-claude/use-case-guides/content-moderation …content moderation, with their definitions // (object keys preserve insertion order, so categories render in this order) const unsafeCategoryDefinitions: Record<string, string> = { "Child Expl… Create an instance of the Claude API client Claude Developer Platform · in the page about-claude/use-case-guides/ticket-routing …t template is a Python f-string, allowing the `ticket_contents` to be inserted into the `<request>` tags. * The prompt gives Claude a clearly defined role as a classification system that carefully ana… memory-tool Claude Developer Platform · in the page agents-and-tools/tool-use/memory-tool …string `json:"old_str"` NewStr string `json:"new_str"` InsertLine int `json:"insert_line"` InsertText string `json:"insert_text"` OldPath string `json:"old_path"` NewPath… text-editor-tool Claude Developer Platform · in the page agents-and-tools/tool-use/text-editor-tool …create, and edit files, and handle its view, str_replace, create, and insert commands. --- <Note> To learn how zero data retention (ZDR) applies to this feature, see [API and data retention](https:… web-fetch-tool Claude Developer Platform · in the page agents-and-tools/tool-use/web-fetch-tool …use/server-tools): the API fetches the content during the request and inserts the results into the conversation. You don't run anything or return a `tool_result`. The exception is when Claude calls we… Events Claude Developer Platform · in the page api/beta/sessions/events …entry in the previewed event's content array this fragment lands in. Insert content as that entry when the index is new; append to the existing entry otherwise. format: uint32 - `event_… Stream Events Claude Developer Platform · in the page api/beta/sessions/events/stream …entry in the previewed event's content array this fragment lands in. Insert content as that entry when the index is new; append to the existing entry otherwise. format: uint32 - `event_… Threads Claude Developer Platform · in the page api/beta/sessions/threads …entry in the previewed event's content array this fragment lands in. Insert content as that entry when the index is new; append to the existing entry otherwise. format: uint32 - `event_… Events Claude Developer Platform · in the page api/beta/sessions/threads/events …entry in the previewed event's content array this fragment lands in. Insert content as that entry when the index is new; append to the existing entry otherwise. format: uint32 - `event_… Stream Session Thread Events Claude Developer Platform · in the page api/beta/sessions/threads/events/stream …entry in the previewed event's content array this fragment lands in. Insert content as that entry when the index is new; append to the existing entry otherwise. format: uint32 - `event_… Apps Claude Developer Platform · in the page api/compliance/apps …content is not shown, or when it is an explanatory marker the server inserted (its text enclosed in square brackets, e.g. prefacing client-asserted history). There is no request parameter that raises… Sessions Claude Developer Platform · in the page api/compliance/apps/sessions …content is not shown, or when it is an explanatory marker the server inserted (its text enclosed in square brackets, e.g. prefacing client-asserted history). There is no request parameter that raises… Local Claude Developer Platform · in the page api/compliance/apps/sessions/local …content is not shown, or when it is an explanatory marker the server inserted (its text enclosed in square brackets, e.g. prefacing client-asserted history). There is no request parameter that raises… Messages Claude Developer Platform · in the page api/compliance/apps/sessions/local/messages …content is not shown, or when it is an explanatory marker the server inserted (its text enclosed in square brackets, e.g. prefacing client-asserted history). There is no request parameter that raises… Retrieve local session messages Claude Developer Platform · in the page api/compliance/apps/sessions/local/messages/list …content is not shown, or when it is an explanatory marker the server inserted (its text enclosed in square brackets, e.g. prefacing client-asserted history). There is no request parameter that raises… sent_count = len(messages sent in the compaction request) Claude Developer Platform · in the page build-with-claude/compaction …inking` and `redacted_thinking` blocks from any assistant turn you re-insert after the compaction block, or send `thinking.block_binding.prefix_mismatch_behavior: "drop_block"` with the `thinking-bind… compaction-threshold Claude Developer Platform · in the page build-with-claude/compaction-threshold …inking` and `redacted_thinking` blocks from any assistant turn you re-insert after the compaction block, or send `thinking.block_binding.prefix_mismatch_behavior: "drop_block"` with the `thinking-bind… handling-stop-reasons Claude Developer Platform · in the page build-with-claude/handling-stop-reasons …iately after tool results (Claude learns to expect the user to always insert text after tool results, so it ends its turn to follow the pattern) * Sending Claude's completed response back without ad… Request 2 caches its request content (not the response) Claude Developer Platform · in the page build-with-claude/prompt-caching …"text": "Here is the full text of a complex legal agreement: [Insert full text of a 50-page legal agreement here]", "cache_control": {"type": "ephemeral"} }… thinking-steering-and-cost Claude Developer Platform · in the page build-with-claude/thinking-steering-and-cost …* History assembled from mixed sources doesn't need thinking blocks reinserted at the start of each assistant turn to pass validation. The relaxation is about validation, not about what you should se… compliance-sessions Claude Developer Platform · in the page manage-claude/compliance-sessions …y mid-session (for example, after context compaction), the transcript inserts a marker message at that point and continues with the new content the client sent. When your organization has a finite ret… events-and-streaming Claude Developer Platform · in the page managed-agents/events-and-streaming …f (streamEvent.TryPickDeltaEvent(out var delta)) { // Insert at a new index, append at an existing one if (!previews.TryGetValue(delta.EventID, out var fragments))… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp …configuration file](https://dbhub.ai/config/toml) makes DBHub reject `INSERT`, `UPDATE`, `DELETE`, and DDL statements, so the example cannot modify your data even if the agent emits a write. DBHub res… Modifying system prompts Claude Code CLI · in the page agent-sdk/modifying-system-prompts …a factual statement such as "The workspace is now read-only". The SDK inserts the text into the conversation at the point where the hook fired, so the recorded prompt stays unchanged. #### Turn recor… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …rkdown" | None, # The type of the cell "edit_mode": "replace" | "insert" | "delete" | None, # Edit operation type } ``` **Output:** ```python theme={null} { "message": str, # Success mess… Persist sessions to external storage Claude Code CLI · in the page agent-sdk/session-storage …r document per entry, stored as JSON and ordered by a key assigned on insert. | Postgres ([TypeScript](https://github.com/anthropics/claude-agent-sdk-typescript/tree/main/exam… Subagents in the SDK Claude Code CLI · in the page agent-sdk/subagents …the harness emits, such as a `<system-reminder>` block, in place. It inserts a backslash after the opening angle bracket and deletes nothing. * **Permission-configuration mentions**: Claude Code ke… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …| | `Shift+Enter` | Insert a newline in the dispatch input, [as in the main prompt](/docs/en/terminal-config#enter-multiline-prompts)… Configure auto mode Claude Code CLI · in the page auto-mode-config …sections. When you add the first rule to a section, Claude Code also inserts `"$defaults"` so the [built-in rules](#override-the-block-and-allow-rules) stay in effect. * Turn the built-in rules for `… Claude Code changelog Claude Code CLI · in the page changelog …e keyboard shortcut while a new chat view was still starting could be inserted into the input long after the keystroke * \[VSCode] Fixed the session list jumping down when the Account & usage header… Channels reference Claude Code CLI · in the page channels-reference …side, the same handler as earlier, now with the verdict-format check inserted before the chat-forward branch. ```ts title="Full webhook.ts with permission relay" expandable theme={null} #!/usr/bin/e… Message your other Claude Code sessions Claude Code CLI · in the page cross-session-messaging …ents-explicitly). Requires Claude Code v2.1.232 or later. Claude Code inserts the mention, such as `@api-worker`, and tells Claude which session it names, so Claude can message that session without li… Hooks reference Claude Code CLI · in the page hooks …context window. Claude Code wraps the string in a system reminder and inserts it into the conversation at the point where the hook fired. Claude reads the reminder on the next model request, but it do… Interactive mode Claude Code CLI · in the page interactive-mode …| Inserts an `[Image #N]` chip at the cursor so you can reference it positionally in your prompt. On WSL, both `Ctrl+V` and `Alt+V`… JetBrains IDEs Claude Code CLI · in the page jetbrains …rtcuts**: use `Cmd+Option+K` (Mac) or `Alt+Ctrl+K` (Linux/Windows) to insert file references such as `@src/auth.ts#L1-99` * **Diagnostic sharing**: Claude reads the IDE's inspection diagnostics, such… Customize keyboard shortcuts Claude Code CLI · in the page keybindings …later | | `chat:newline` | Ctrl+J | Insert a newline without submitting… Monitoring Claude Code CLI · in the page monitoring-usage …d as-is. A setting whose entries the schema doesn't type, such as `vimInsertModeRemaps`, is exported as a single `"[REDACTED]"`, and `sandbox.ignoreViolations` is exported as a list of its path lists… Test plugins with evals Claude Code CLI · in the page plugin-evals …y: [low, medium, high] --- Created issue #4821: {{input.title}} ``` Insert fields from the call's input with `{{input.<field>}}`, and the contents of a fixture file beside the mock with `{{file:fixt… Security Claude Code CLI · in the page security …attempts to override or manipulate an AI assistant's instructions by inserting malicious text. Claude Code includes several safeguards against these attacks: ### Core protections * **Permission sys… Claude Code settings Claude Code CLI · in the page settings …| | `vimInsertModeRemaps` | Map two-key INSERT-mode sequences to Escape in [vim editor mode](/docs/en/interactive-mode#vim-ed… All settings Claude Code CLI · in the page settings-reference …Interface and terminal | Any file | | [`vimInsertModeRemaps`](#viminsertmoderemaps) | Map a two-key [INSERT-mode sequ… Extend Claude with skills Claude Code CLI · in the page skills …e that itself contains text such as `$1` or `$ARGUMENTS`, Claude Code inserts it as literal text and doesn't expand it. For example, if a skill's body contains `Summarize $0` and you run `/summarize "… Customize your status line Claude Code CLI · in the page statusline …The optional `hideVimModeIndicator` field suppresses the built-in `-- INSERT --` text below the prompt. Set this to `true` when your script renders [`vim.mode`](#available-data) itself, so the mode is… Create custom subagents Claude Code CLI · in the page sub-agents …write operations (case-insensitive) if echo "$COMMAND" | grep -iE '\b(INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|TRUNCATE)\b' > /dev/null; then echo "Blocked: Only SELECT queries are allowed" >&2 exit… Configure your terminal for Claude Code Claude Code CLI · in the page terminal-config …right, you do not need this page. * [Shift+Enter submits instead of inserting a newline](#enter-multiline-prompts) * [Option-key shortcuts do nothing on macOS](#enable-option-key-shortcuts-on-macos)… Tools reference Claude Code CLI · in the page tools-reference …l: * `replace`: overwrite the cell's source. This is the default. * `insert`: add a new cell after the target. With no `cell_id`, the new cell goes at the start of the notebook. Requires `cell_type`… Troubleshoot installation and login Claude Code CLI · in the page troubleshoot-install …your terminal's alternate paste shortcut, often right-click or Shift+Insert in Windows Terminal, or use `claude auth login` instead, which reads the pasted code from standard input: ```bash theme={n… Voice dictation Claude Code CLI · in the page voice-dictation …and in [vim mode](/docs/en/interactive-mode#vim-editor-mode) outside INSERT it is a command. A [rebound modifier combination](#rebind-the-dictation-key) like `meta+k` never types text, so it starts d… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …lected text. Press `Option+K` (Mac) / `Alt+K` (Windows/Linux) to also insert an @-mention reference (like `@file.ts#5-10`) into your prompt.</Tip> Here's an example of asking about a particular l…
Feedback