--- summary: "CLI reference for `clawdbot nodes` (list/status/approve/invoke, camera/canvas/screen)" read_when: - You’re managing paired nodes (cameras, screen, canvas) - You need to approve requests or invoke node commands --- # `clawdbot nodes` Manage paired nodes (devices) and invoke node capabilities. Related: - Nodes overview: [Nodes](/nodes) - Camera: [Camera nodes](/nodes/camera) - Images: [Image nodes](/nodes/images) Common options: - `--url`, `--token`, `--timeout`, `--json` ## Common commands ```bash clawdbot nodes list clawdbot nodes list --connected clawdbot nodes list --last-connected 24h clawdbot nodes pending clawdbot nodes approve clawdbot nodes status clawdbot nodes status --connected clawdbot nodes status --last-connected 24h ``` `nodes list` prints pending/paired tables. Paired rows include the most recent connect age (Last Connect). Use `--connected` to only show currently-connected nodes. Use `--last-connected ` to filter to nodes that connected within a duration (e.g. `24h`, `7d`). ## Invoke / run ```bash clawdbot nodes invoke --node --command --params clawdbot nodes run --node clawdbot nodes run --raw "git status" clawdbot nodes run --agent main --node --raw "git status" ``` Invoke flags: - `--params `: JSON object string (default `{}`). - `--invoke-timeout `: node invoke timeout (default `15000`). - `--idempotency-key `: optional idempotency key. ### Exec-style defaults `nodes run` mirrors the model’s exec behavior (defaults + approvals): - Reads `tools.exec.*` (plus `agents.list[].tools.exec.*` overrides). - Uses exec approvals (`exec.approval.request`) before invoking `system.run`. - `--node` can be omitted when `tools.exec.node` is set. - Requires a node that advertises `system.run` (macOS companion app or headless node host). Flags: - `--cwd `: working directory. - `--env `: env override (repeatable). - `--command-timeout `: command timeout. - `--invoke-timeout `: node invoke timeout (default `30000`). - `--needs-screen-recording`: require screen recording permission. - `--raw `: run a shell string (`/bin/sh -lc` or `cmd.exe /c`). - `--agent `: agent-scoped approvals/allowlists (defaults to configured agent). - `--ask `, `--security `: overrides.