Manage and Execute Commands on OpenClaw Nodes
Managing a fleet of devices often feels like a guessing game. You need to know which nodes are active, which ones are waiting for approval, and how to trigger specific actions without jumping through hoops.
The openclaw nodes command is your main tool for handling paired devices and triggering their capabilities. Here is how you can get started.
Related:
- Nodes overview: Nodes
- Camera: Camera nodes
- Images: Image nodes
Common options:
--url, --token, --timeout, --json
Common commands
Section titled “Common commands”The first thing you usually need to do is check the state of your network. You can quickly see which nodes are pending or already paired.
openclaw nodes listopenclaw nodes list --connectedopenclaw nodes list --last-connected 24hopenclaw nodes pendingopenclaw nodes approve <requestId>openclaw nodes statusopenclaw nodes status --connectedopenclaw nodes status --last-connected 24hWhen you run nodes list, you get tables showing both pending and paired nodes. The paired rows show the “Last Connect” age, which helps you spot inactive devices. If you want to filter the noise, use --connected to see only live nodes. You can also use --last-connected <duration> (like 24h or 7d) to find nodes that checked in within a specific timeframe.
Invoke
Section titled “Invoke”When you need to trigger a specific capability on a node, use the invoke command. This is built for direct RPC calls.
openclaw nodes invoke --node <id|name|ip> --command <command> --params <json>Here are the flags you can use:
--params <json>: Pass a JSON object string (it defaults to{}).--invoke-timeout <ms>: Set the timeout for the call (default is15000).--idempotency-key <key>: Use this if you need to ensure an operation isn’t repeated.system.runandsystem.run.prepareare blocked here; use theexectool withhost=nodefor shell execution.
If you need to run shell commands on a node, you should use the exec tool with host=node instead of openclaw nodes run. The nodes CLI focuses on capabilities like camera, screen, location, canvas, and notifications.
Next steps
Section titled “Next steps”OpenClaw Expert
Still stuck?
If this page didn't answer your case, ask OpenClaw Expert for step-by-step guidance.