What
SendMessage is the tool Claude uses to send a message to another session or agent. When it cannot find the recipient, the reply Claude receives now carries extra notes:
- A note saying the recipient was not looked up by name.
- A hint about how Desktop sessions are written, in brackets.
- A note that Remote Control is turned off, when that is the case.
Claude Code also now records, in its usage data, whether cloud sessions were left out of the search.
Why
With these notes, Claude can understand why a message had nowhere to go and choose a better next step, instead of trying the same thing again.
Names in the bundleSendMessage
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Added since
A small documentation edit on Orchestrate teams of Claude Code sessions touched a line naming SendMessage after this was published.
* It reviews `SendMessage` messages before Claude Code delivers them, including structured protocol messages such as a shutdown request. A message it blocks isn't delivered. Before you rely on this review, check [which messages skip it](ht…agent-teams see the edit
Confirmed since
Anthropic's documentation has since written up SendMessage, on Agent SDK reference - TypeScript.
Background events such as a finished task have no `subkind`. Messages from the [cross-session `SendMessage` tool](https://code.claude.com/docs/en/cross-session-messaging) aren't task notifications and carry `kind: "peer"` with the [peer or…agent-sdk/typescript see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up SendMessage, on Agent SDK reference - TypeScript.