openclaw nodes
Manage paired nodes (devices) and invoke node capabilities.
Related:
- Nodes 概覽:Nodes
- Camera:Camera nodes
- Images:Image nodes
--url、--token、--timeout、--json
常用指令
nodes list 會列印待處理/已配對的表格。已配對的列包含最近一次連線時間(Last Connect)。
Use --connected to only show currently-connected nodes. Paired rows include the most recent connect age (Last Connect).
Use --connected to only show currently-connected nodes. Use --last-connected <duration> to
filter to nodes that connected within a duration (e.g. 24h, 7d).
呼叫 / 執行
--params <json>:JSON 物件字串(預設為{})。--invoke-timeout <ms>:節點 invoke 逾時(預設為15000)。--idempotency-key <key>:選用的冪等鍵。
Exec 風格預設值
nodes run 會鏡射模型的 exec 行為(預設值+核准):
- 讀取
tools.exec.*(以及agents.list[].tools.exec.*覆寫)。 - 在呼叫
system.run之前使用 exec 核准(exec.approval.request)。 - 當設定
tools.exec.node時,可以省略--node。 - 需要宣告
system.run的節點(macOS 配套應用程式或無介面節點主機)。
--cwd <path>:工作目錄。--env <key=val>:env 覆寫(可重複)。 注意:node hosts 會忽略PATH覆寫(且不會將tools.exec.pathPrepend套用至 node hosts)。--command-timeout <ms>:指令逾時。--invoke-timeout <ms>:節點 invoke 逾時(預設為30000)。--needs-screen-recording:需要螢幕錄製權限。--raw <command>:執行 shell 字串(/bin/sh -lc或cmd.exe /c)。--agent <id>:代理程式範圍的核准/允許清單(預設為已設定的代理程式)。--ask <off|on-miss|always>、--security <deny|allowlist|full>:覆寫。