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

18 pages for sendmessage.

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

api Claude Developer Platform · in the page manage-claude/opentelemetry/api …s" "go.opentelemetry.io/otel/propagation" ) func sendMessage(ctx context.Context) error { body := strings.NewReader(`{ "events": [ { "type": "use… Subagents in the SDK Claude Code CLI · in the page agent-sdk/subagents …he subagent needs directly in that prompt. A subagent that has the [`SendMessage`](/docs/en/tools-reference) tool starts with a list of the other named agents running in the session, so it knows whic… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …e-code-on-the-web) use to message each other, not the [cross-session `SendMessage` tool](/docs/en/cross-session-messaging), and Anthropic servers verified that both sessions belong to the same private… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …inition's `tools` list. For an in-process teammate, Claude Code adds `SendMessage` to that list, and in a [session that has the Task tools](/docs/en/tools-reference#task-tool-availability) it adds `Ta… Claude Code changelog Claude Code CLI · in the page changelog …final report twice, once as the result and once as a message * Fixed `SendMessage` not finding a subagent by name after the CLI restarted and resumed the session (names given before the last compactio… Message your other Claude Code sessions Claude Code CLI · in the page cross-session-messaging …minals. Claude discovers the target with `ListAgents` and sends with `SendMessage`, so you never call either tool yourself. Claude can decide to send a message without being asked, and you can also pr… Choose a permission mode Claude Code CLI · in the page permission-modes …sifier also reviews each message Claude sends to another agent with [`SendMessage`](/docs/en/tools-reference), whether plain text or a structured [agent team](/docs/en/agent-teams) message, before Cla… Use the mods API Claude Code CLI · in the page plugins/mods/api …all `$.session.send({ to, text })`, which makes the same delivery the SendMessage tool makes. Set `to` by who receives the message: * **Another of your sessions**: `{ sessionId }` * **A subagent or t… Mods reference Claude Code CLI · in the page plugins/mods/reference …l, or `{ deny: reason }` | When Claude resumes a subagent with the [`SendMessage`](/docs/en/sub-agents#resume-subagents) tool, your `agent.spawn` hook doesn't run again. To refuse the `SendMessage` c… Claude Code settings Claude Code CLI · in the page settings …hines` | Require your explicit approval before Claude's `SendMessage` reaches one of your sessions beyond this machine; see [cross-session messaging](/docs/en/cross-session-messaging#requ… Create custom subagents Claude Code CLI · in the page sub-agents …ToolSearch`, `EnterWorktree`, `ExitWorktree`, `Monitor`, `TaskStop`, `SendMessage`, and `Artifact`, plus [`SubagentHandback`](/docs/en/tools-reference) for a subagent that reports through it. Claude C… Tools reference Claude Code CLI · in the page tools-reference …or) | No | | `ListAgents` | Lists the agents Claude can message with `SendMessage`: subagents in the session, [agent team](/docs/en/agent-teams) teammates, your other local Claude Code sessions, and,… Week 24 · June 8–12, 2026 Claude Code CLI · in the page whats-new/2026-w24 …now warn at startupAgent messaging is hardened: messages relayed via `SendMessage` from other agents no longer carry user authority, and auto mode blocks themAmazon Bedrock reads the AWS region from `… Week 32 · August 3–7, 2026 Claude Code CLI · in the page whats-new/2026-w32 …covers your other sessions with the `ListAgents` tool and sends with `SendMessage`, either when you ask it to or on its own, such as after a change in one session affects what another is working on. A… Week 33 · August 10–14, 2026 Claude Code CLI · in the page whats-new/2026-w33 …ssage-another-session) by name, and Claude messages it directly with `SendMessage`; a bare name that matches exactly one live session now delivers without a confirmation stepInteractive sessions on on… Week 34 · August 17–21, 2026 Claude Code CLI · in the page whats-new/2026-w34 …it and persists across restartsWith the `notify_when_idle` input on `SendMessage`, Claude can ask another Claude Code session on the same machine to [send one notice when it next goes idle](/docs/en/… Week 35 · August 24–28, 2026 Claude Code CLI · in the page whats-new/2026-w35 …put marked as partial, with a hint that Claude can [continue it with `SendMessage`](/docs/en/sub-agents#resume-subagents), instead of appearing finishedOn Amazon Bedrock, Google Cloud's Agent Platform… Supersede older widget instances Claude Documentation · in the page connectors/building/mcp-apps/instance-supersession …ps://modelcontextprotocol.github.io/ext-apps/api/classes/app.App.html#sendmessage) to Claude. This page is for MCP App developers whose widget represents a single piece of state, such as a shopping c…
Feedback