Message Types
Outgoing (SDK → Platform)
register_conversation_tools
Register available tools when agent starts:tool_call_response
Return tool execution result:tool_call_error
Report tool execution error:Incoming (Platform → SDK)
tool_call_request
Request tool execution:conversation_lifecycle
Conversation started or ended:Connection Flow
- Agent connects to WebSocket
- Platform authenticates agent
- Agent registers tools
- Platform sends tool_call_request
- Agent executes tool
- Agent sends tool_call_response
- Repeat 4-6 during conversation
- Platform sends conversation_lifecycle (ended)