Search the documentation
5 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…
Debugging
Model Context Protocol · in the page
docs/2024-11-05/tools/debugging
…rver.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info", data="Server started successfully", ) return "done" ```…
Debugging
Model Context Protocol · in the page
docs/2025-03-26/tools/debugging
…rver.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info", data="Server started successfully", ) return "done" ```…
Debugging
Model Context Protocol · in the page
docs/2025-06-18/tools/debugging
…rver.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info", data="Server started successfully", ) return "done" ```…
Debugging
Model Context Protocol · in the page
docs/2025-11-25/tools/debugging
…rver.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info", data="Server started successfully", ) return "done" ```…