system
openclaw system
Section titled “openclaw system”System-level helpers for the Gateway: enqueue system events, control heartbeats, and view presence.
Common commands
Section titled “Common commands”openclaw system event --text "Check for urgent follow-ups" --mode nowopenclaw system heartbeat enableopenclaw system heartbeat lastopenclaw system presencesystem event
Section titled “system event”Enqueue a system event on the main session. The next heartbeat will inject it as a System: line in the prompt. Use --mode now to trigger the heartbeat immediately; next-heartbeat waits for the next scheduled tick.
Flags:
--text <text>: required system event text.--mode <mode>:nowornext-heartbeat(default).--json: machine-readable output.
system heartbeat last|enable|disable
Section titled “system heartbeat last|enable|disable”Heartbeat controls:
last: show the last heartbeat event.enable: turn heartbeats back on (use this if they were disabled).disable: pause heartbeats.
Flags:
--json: machine-readable output.
system presence
Section titled “system presence”List the current system presence entries the Gateway knows about (nodes, instances, and similar status lines).
Flags:
--json: machine-readable output.
- Requires a running Gateway reachable by your current config (local or remote).
- System events are ephemeral and not persisted across restarts.