Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

199 pages for streaming.

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

Test iOS apps in the simulator Claude Code CLI · in the page desktop-ios-simulator …buttons or the shortcuts; the files are saved to your Desktop * Stop streaming a device without shutting it down by clicking **Detach simulator**, which returns the pane to its **Attach simulator** s… Environment variables Claude Code CLI · in the page env-vars …| Override the 5-minute body idle timeout that aborts a streaming model response when no bytes arrive. Set to `0` to turn the timeout off, for example when a slow [gateway](/docs/en/llm-… Error reference Claude Code CLI · in the page errors …rom-api) | | `API Error: Stream idle timeout - no chunks received` | [Streaming idle watchdogs](https://code.claude.com/docs/en/network-config.md#streaming-idle-watchdogs), or [Long thinking ends in p… Fullscreen rendering Claude Code CLI · in the page fullscreen …d, the view also stays where you scrolled it when a response finishes streaming. The button's keyboard hint reflects what your keyboard can send. On macOS it suggests clicking, or `Fn+↓` to scroll, b… Run Claude Code programmatically Claude Code CLI · in the page headless …D, and metadata * `stream-json`: newline-delimited JSON for real-time streaming This example returns a project summary as JSON with session metadata, with the text result in the `result` field: ```b… Hooks reference Claude Code CLI · in the page hooks …lies even when the tool call fails or completes while Claude is still streaming a response. #### Emit terminal notifications Hooks run without a controlling terminal, so writing escape sequences dir… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …-proxies-and-llm-gateways) covers the variables that restore it. ### Streaming Claude Code reads each streaming inference response event by event as it arrives, so the way your gateway relays the st… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …including keep-alive pings, instead of buffering the whole response; [streaming](https://code.claude.com/docs/en/llm-gateway-protocol.md#streaming) covers what buffering or stripped pings break * **Ro… Monitoring Claude Code CLI · in the page monitoring-usage …ttempt, in milliseconds. Absent on requests that fell back to the non-streaming path. Requires Claude Code v2.1.268 or later | | | `input_tokens` | Input token count from the API usage block. Excludes… Enterprise network configuration Claude Code CLI · in the page network-config …ext `claude agents` or `--bg` starts a supervisor that honors it. ## Streaming idle watchdogs Claude Code runs four independent timers that abort a streaming model response when it goes quiet, so a… Use the mods API Claude Code CLI · in the page plugins/mods/api …t has ended its input`**: for example, the SDK application ended its [streaming input](https://code.claude.com/docs/en/agent-sdk/streaming-vs-single-mode.md), or stdin closed on a run started with [`-… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …uns `/reload-plugins` for you, or queues it until the response that's streaming finishes. Read what that reload prints: * **`Reloaded:` with counts of plugins, skills, agents, hooks, and servers**:… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …ssages between the web or mobile client and your local session over a streaming connection. All traffic travels through the Anthropic API over TLS, the same transport security as any Claude Code sess… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …credentials-awspairs), which requires Claude Code v2.1.224 or later. Streaming uploads, presigned URLs, and SigV4A requests carry signatures the proxy can't recompute. When one of these requests is s… Self-hosted environments Claude Code CLI · in the page self-hosted-environments …for HTTPS remotes, and sessions inherit them from the runner. Session streaming uses server-sent events over HTTPS, so a proxy in the path must not buffer responses. * **Proxy authentication**: if yo… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …git](#use-the-anthropic-git-proxy) | Runner control plane and session streaming, model inference, feature flags, product analytics, [JWKS](https://code.claude.com/docs/en/self-hosted-environments-iden… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …[body idle timeout](https://code.claude.com/docs/en/network-config.md#streaming-idle-watchdogs) on, so Claude Code applies it without asking the user. For any other non-empty value, Claude Code shows… Manage sessions Claude Code CLI · in the page sessions …un `/branch` with an optional name: ```text theme={null} /branch try-streaming-approach ``` If you omit the name, Claude Code names the new branch after the first prompt in the conversation. From t… All settings Claude Code CLI · in the page settings-reference …dbox.credentials.sigv4`](#sandbox-credentials-sigv4) | Choose whether streaming, presigned, or [SigV4A AWS requests](https://code.claude.com/docs/en/sandboxing.md#re-sign-aws-requests) fail or pass th… Orchestrate subagents at scale with dynamic workflows Claude Code CLI · in the page workflows …up waiting on it. Lengthening the stall window doesn't help, since a [streaming idle watchdog](https://code.claude.com/docs/en/network-config.md#streaming-idle-watchdogs) ended the response first and… Build your first MCP server for Claude Claude Documentation · in the page connectors/building/quickstart …l itself rather than Claude's summary of it, run the same prompt with streaming JSON output. `--output-format stream-json` needs `--verbose` alongside it: ```bash theme={null} claude -p "Roll three 2… Changelog Claude Documentation · in the page cowork/changelog …a chat was open in its own window: the conversation could jump during streaming when the main window was minimized, usage and credits buttons in the main window could stop working, and the browser, ar… Use Claude for M365 with third-party platforms Claude Documentation · in the page office-agents/third-party-platforms …hers/anthropic/models/<model>:rawPredict`, or `:streamRawPredict` for streaming responses, instead of `https://<region>-aiplatform.googleapis.com/v1/...`, with the user's Google access token as `Autho… Configuration reference Claude Documentation · in the page third-party/claude-desktop/configuration …**Stream idle timeout.** Extra seconds to wait for model output on a streaming response that is sending only keep-alive pings. Gateway provider only. Default 300. > [accordion] More detail > > With… Deploy Claude Desktop on 3P with an LLM gateway Claude Documentation · in the page third-party/claude-desktop/gateway …ttps://docs.claude.com/en/api/messages): * `POST /v1/messages` with [streaming](https://docs.claude.com/en/api/streaming) and [tool use](https://docs.claude.com/en/docs/tool-use) is required. * `GET… File Uploads Charter Model Context Protocol · in the page community/working-groups/file-uploads …sport layer or session model. The WG may evaluate approaches such as streaming, chunked transfer, or presigned upload URLs as part of its design work; whether those land in the initial SEP or a follo… Filesystems Charter Model Context Protocol · in the page community/working-groups/filesystems …oses `resources/create` and `resources/delete`. [SEP-2532, Resource Streaming for Binary Content Delivery](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2532) proposes `resourc… Build an MCP client Model Context Protocol · in the page docs/2024-11-05/develop/build-client …nue; > } > > await foreach (var message in anthropicClient.GetStreamingResponseAsync(query, options)) > { > Console.Write(message); > } > Console.WriteLine(); > > Promp… Build an MCP client Model Context Protocol · in the page docs/2025-03-26/develop/build-client …nue; > } > > await foreach (var message in anthropicClient.GetStreamingResponseAsync(query, options)) > { > Console.Write(message); > } > Console.WriteLine(); > > Promp… Architecture overview Model Context Protocol · in the page docs/2025-03-26/learn/architecture …ST for client-to-server messages with optional Server-Sent Events for streaming capabilities. This transport enables remote server communication and supports standard HTTP authentication methods inclu… Build an MCP client Model Context Protocol · in the page docs/2025-06-18/develop/build-client …nue; > } > > await foreach (var message in anthropicClient.GetStreamingResponseAsync(query, options)) > { > Console.Write(message); > } > Console.WriteLine(); > > Promp… Architecture overview Model Context Protocol · in the page docs/2025-06-18/learn/architecture …ST for client-to-server messages with optional Server-Sent Events for streaming capabilities. This transport enables remote server communication and supports standard HTTP authentication methods inclu… Build an MCP client Model Context Protocol · in the page docs/2025-11-25/develop/build-client …nue; > } > > await foreach (var message in anthropicClient.GetStreamingResponseAsync(query, options)) > { > Console.Write(message); > } > Console.WriteLine(); > > Promp… Architecture overview Model Context Protocol · in the page docs/2025-11-25/learn/architecture …ST for client-to-server messages with optional Server-Sent Events for streaming capabilities. This transport enables remote server communication and supports standard HTTP authentication methods inclu… Build an MCP client Model Context Protocol · in the page docs/2026-07-28/develop/build-client …nue; > } > > await foreach (var message in anthropicClient.GetStreamingResponseAsync(query, options)) > { > Console.Write(message); > } > Console.WriteLine(); > > Promp… Architecture overview Model Context Protocol · in the page docs/2026-07-28/learn/architecture …ST for client-to-server messages with optional Server-Sent Events for streaming capabilities. This transport enables remote server communication and supports standard HTTP authentication methods inclu… Build an MCP client Model Context Protocol · in the page docs/draft/develop/build-client …nue; > } > > await foreach (var message in anthropicClient.GetStreamingResponseAsync(query, options)) > { > Console.Write(message); > } > Console.WriteLine(); > > Promp… Architecture overview Model Context Protocol · in the page docs/draft/learn/architecture …ST for client-to-server messages with optional Server-Sent Events for streaming capabilities. This transport enables remote server communication and supports standard HTTP authentication methods inclu… MCP Apps Model Context Protocol · in the page extensions/apps/overview …is resource before the tool is even called, enabling features like streaming tool inputs to the app. 2. **Resource fetch**: The host fetches the UI resource from the server. This resource co… SEP-1302: Formalize Working Groups and Interest Groups in MCP Governance Model Context Protocol · in the page seps/1302-formalize-working-groups-and-interest-groups-in-mc …want an Agents IG on top of that?] * Connection Lifetime --> Retire * Streaming --> Retire * Spec Compliance --> Retire (good idea but stale; would be good for someone to spearhead a new Working Group… SEP-1577: Sampling With Tools Model Context Protocol · in the page seps/1577--sampling-with-tools …les of how they could be implemented on top of / after this SEP. ### Streaming support See: [Streaming tool use results #117](https://github.com/modelcontextprotocol/modelcontextprotocol/issues/117)… SEP-1686: Tasks Model Context Protocol · in the page seps/1686-tasks …wrapping this existing infrastructure. ***Current Workaround:*** For streaming test logs, the MCP server exposes a tool that can read a range of log lines, as it cannot effectively notify the client… SEP-2575: Make MCP Stateless Model Context Protocol · in the page seps/2575-stateless-mcp …s a Last Resort:** The complexity of stateful logic and long-lived streaming connections should only be accepted when no simpler alternative exists to solve a critical use case. ### Transport C… SEP-2577: Deprecate Roots, Sampling, and Logging Model Context Protocol · in the page seps/2577-deprecate-roots-sampling-and-logging …PIs, giving them full control over model selection, parameters, and streaming. ### Logging Logging allows servers to send structured log messages to clients via the protocol: * **Overlapping infr… Transports Model Context Protocol · in the page specification/2025-03-26/basic/transports …ts basic MCP servers, as well as more feature-rich servers supporting streaming and server-to-client notifications and requests. The server **MUST** provide a single HTTP endpoint path (hereafter ref… Transports Model Context Protocol · in the page specification/2025-06-18/basic/transports …ts basic MCP servers, as well as more feature-rich servers supporting streaming and server-to-client notifications and requests. The server **MUST** provide a single HTTP endpoint path (hereafter ref… Transports Model Context Protocol · in the page specification/2025-11-25/basic/transports …ts basic MCP servers, as well as more feature-rich servers supporting streaming and server-to-client notifications and requests. The server **MUST** provide a single HTTP endpoint path (hereafter ref… Streamable HTTP Model Context Protocol · in the page specification/2026-07-28/basic/transports/streamable-http …application/json<br/>JSON-RPC response note over Client,Server: Streaming response Client->>Server: POST tools/call (JSON-RPC request) note over Server: Opens SSE stream<br/>scoped to th… Streamable HTTP Model Context Protocol · in the page specification/draft/basic/transports/streamable-http …application/json<br/>JSON-RPC response note over Client,Server: Streaming response Client->>Server: POST tools/call (JSON-RPC request) note over Server: Opens SSE stream<br/>scoped to th…
Feedback