Documentation Index
Fetch the complete documentation index at: https://openclaw.zhcndoc.com/llms.txt
Use this file to discover all available pages before exploring further.
openclaw nodes
管理已配对的节点(设备)并调用节点能力。
相关内容:
常用选项:
--url,--token,--timeout,--json
常用命令
nodes list 会输出待处理/已配对的表格。已配对的行会包含最近一次连接的时长(Last Connect)。
使用 --connected 仅显示当前已连接的节点。使用 --last-connected <duration> 可
筛选在某个时长内连接过的节点(例如 24h、7d)。
使用 nodes remove --node <id|name|ip> 可删除过时的、由网关持有的节点配对记录。
批准说明:
openclaw nodes pending只需要配对范围。gateway.nodes.pairing.autoApproveCidrs可以跳过待处理步骤,但仅适用于 明确受信任、首次role: node的设备配对。它默认关闭, 且不会批准升级。openclaw nodes approve <requestId>会继承来自 待处理请求的额外范围要求:- 无命令请求:仅配对
- 非 exec 节点命令:配对 + 写入
system.run/system.run.prepare/system.which:配对 + 管理员
调用
--params <json>:JSON 对象字符串(默认{})。--invoke-timeout <ms>:节点调用超时时间(默认15000)。--idempotency-key <key>:可选的幂等键。system.run和system.run.prepare在这里被阻止;请使用带host=node的exec工具执行 shell。
host=node 的 exec 工具,而不是 openclaw nodes run。
nodes CLI 现在以能力为中心:通过 nodes invoke 进行直接 RPC,再加上配对、摄像头、
屏幕、位置、画布和通知。