nodes
openclaw nodes
Section titled “openclaw nodes”管理配對的節點 (裝置) 並叫用節點功能。
相關:
常用選項:
--url,--token,--timeout,--json
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 24hnodes list 會列印待處理/已配對的表格。已配對的列包含最近的連線時間 (Last Connect)。
使用 --connected 僅顯示目前已連線的節點。使用 --last-connected <duration> 篩選
在持續時間內連線的節點 (例如 24h, 7d)。
openclaw nodes invoke --node <id|name|ip> --command <command> --params <json>叫用旗標:
--params <json>: JSON 物件字串 (預設為{})。--invoke-timeout <ms>: 節點叫用逾時 (預設為15000)。--idempotency-key <key>: 選用的等冪性金鑰。system.run和system.run.prepare在此處被封鎖;請使用帶有host=node的exec工具來執行 Shell。
若要在節點上執行 Shell,請使用帶有 host=node 的 exec 工具,而不是 openclaw nodes run。
nodes CLI 現在專注於功能:透過 nodes invoke 直接進行 RPC,以及配對、相機、螢幕、位置、畫布和通知。