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

9 pages for session.send.

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

TypeScript SDK V2 session API (removed) Claude Code CLI · in the page agent-sdk/typescript-v2-preview …teSession()` / `resumeSession()`: Start or continue a conversation * `session.send()`: Send a message * `session.stream()`: Get the response ## Installation Agent SDK 0.2.x is the last version that… Manage mods for your organization Claude Code CLI · in the page plugins/mods/admin …t` | Submits a prompt, and can send it as the user's own words | | `$.session.send` | Sends a message that another session's, subagent's, or [teammate's](https://code.claude.com/docs/en/agent-teams.md… Use the mods API Claude Code CLI · in the page plugins/mods/api …| Resolves with `{ deny: '<reason>' }` and starts no subagent | | `$.session.send` to a subagent that finished | Resolves with `{ isDelivered: false, reason: 'Agent "<id>" was not resumed: <reason>.'… Mods reference Claude Code CLI · in the page plugins/mods/reference …cs/en/plugins/mods/api#send-and-receive-messages-between-sessions), [`session.send`](https://code.claude.com/docs/en/plugins/mods/api#send-and-receive-messages-between-sessions) | A message arrives fr… Test a mod Claude Code CLI · in the page plugins/mods/test …all`, returns that event's own result, such as `{ result: 'ok' }`. `$.session.send` and `$.prompt.fill` take their event's result too, as the table shows. [Look up what a stub returns](#look-up-what-a… Debugging Model Context Protocol · in the page docs/2024-11-05/tools/debugging …@server.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info", data="Server started successfully", ) return "done" ``` ```typesc… Debugging Model Context Protocol · in the page docs/2025-03-26/tools/debugging …@server.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info", data="Server started successfully", ) return "done" ``` ```typesc… Debugging Model Context Protocol · in the page docs/2025-06-18/tools/debugging …@server.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info", data="Server started successfully", ) return "done" ``` ```typesc… Debugging Model Context Protocol · in the page docs/2025-11-25/tools/debugging …@server.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info", data="Server started successfully", ) return "done" ``` ```typesc…
Feedback