Skip to main content

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

  1. Agent connects to WebSocket
  2. Platform authenticates agent
  3. Agent registers tools
  4. Platform sends tool_call_request
  5. Agent executes tool
  6. Agent sends tool_call_response
  7. Repeat 4-6 during conversation
  8. Platform sends conversation_lifecycle (ended)