gateway command manages the SimpleClaw WebSocket Gateway server that connects messaging channels to AI agents.
Commands
gateway run
Run the WebSocket Gateway in the foreground.Gateway port number
Bind mode:
loopback, tailnet, lan, auto, or customForce start even if validation fails
gateway status
Show gateway service status and probe the Gateway.gateway call
Call a Gateway RPC method directly.Method name (e.g.,
health, status, system-presence, cron.*)JSON object string for method parameters (default:
{})Gateway WebSocket URL
Gateway authentication token
Gateway authentication password
Output result as JSON
gateway usage-cost
Fetch usage cost summary from session logs.Number of days to include (default: 30)
Gateway WebSocket URL
Gateway authentication token
Output result as JSON
gateway health
Fetch Gateway health status.Gateway WebSocket URL
Gateway authentication token
Output result as JSON
gateway probe
Show gateway reachability, discovery, health, and status summary (local and remote).Explicit Gateway WebSocket URL (still probes localhost)
SSH target for remote gateway tunnel (
user@host or user@host:port)SSH identity file path
Try to derive an SSH target from Bonjour discovery
Gateway token (applies to all probes)
Gateway password (applies to all probes)
Overall probe budget in milliseconds (default: 3000)
Output JSON
gateway discover
Discover gateways via Bonjour (local and wide-area if configured).Per-command timeout in milliseconds (default: 2000)
Output JSON