Protocol Reference
Complete reference for all SimpleClaw Gateway WebSocket protocol types, methods, and events.Protocol Version
Current protocol version: 1 Clients specify supported range inConnectParams:
Base Types
ConnectParams
Client hello message (first frame sent):HelloOk
Server hello response:Snapshot
Gateway state snapshot:Agent Methods
agent.identity
Get agent identity and configuration: Response:agents.list
List all agents: Response:agents.create
Create a new agent:agents.update
Update agent configuration:Session Methods
sessions.list
List active sessions: Response:sessions.patch
Update session configuration:sessions.reset
Clear session history:Channel Methods
channels.status
Get channel status for all configured channels:channels.logout
Disconnect and clear channel credentials:Configuration Methods
config.get
Read configuration value:config.set
Set configuration value:config.patch
Partially update configuration:Cron Methods
cron.list
List scheduled jobs:cron.add
Schedule a new job:cron.remove
Delete a scheduled job:Node Methods
node.list
List paired device nodes: Response:node.invoke
Execute command on a device node:Events
chat Event
Conversation updates:
agent Event
Agent state changes:
tick Event
Heartbeat:
Next Steps
WebSocket Guide
Connection flow and client implementation
Plugin SDK
Build custom plugins