CLI 参考
有关"openclaw"命令、子命令和选项的 OpenClaw CLI 参考
此页面描述当前 CLI 行为。如果命令发生更改,请更新此文档。
命令页面
- setup
- onboard
- config
- doctor
- reset
- update
- message
- agent
- agents
- acp
- status
- health
- sessions
- gateway
- logs
- system
- models
- memory
- nodes
- devices
- node
- sandbox
- tui
- browser
- cron
- dns
- docs
- hooks
- webhooks
- pairing
- plugins(插件命令)
- channels
- security
- skills
- voicecall(插件;如果已安装)
全局标志
- --dev:隔离 ~/.openclaw-dev 下的状态并切换默认端口。
- --profile <name>:在 ~/.openclaw-'<name>' 下隔离状态。
- --no-color:禁用 ANSI 颜色。
- --update:openclaw update 的简写(仅限源安装)。
- -V、--version、-v:打印版本并退出。
输出样式
ANSI 颜色和进度指示器仅在 TTY 会话中呈现。
OSC-8 超链接在支持的终端中呈现为可点击链接;否则我们会退回到纯 URL。
(和 --plain 在支持的情况下)禁用干净输出的样式。
禁用 ANSI 样式; NO_COLOR=1 也受到尊重。
长时间运行的命令显示进度指示器(支持时为 OSC 9;4)。
调色板
OpenClaw 使用龙虾调色板进行 CLI 输出。
- accent (#FF5A2D):标题、标签、主要亮点。
- accentBright (#FF7A3D):命令名称、强调。
- accentDim (#D14A22):辅助突出显示文本。
- info (#FF8A5B):信息值。
- success (#2FBF71):成功状态。
- warn (#FFB020):警告、后备、注意。
- error (#E23D2D):错误、失败。
- muted (#8B7F77):去加重、元数据。
调色板真相来源:src/terminal/palette.ts(又名"龙虾缝")。
命令树
openclaw [--dev] [--profile <name>] <command>
setup
onboard
configure
config
get
set
unset
doctor
security
audit
reset
uninstall
update
channels
list
status
logs
add
remove
login
logout
skills
list
info
check
plugins
list
info
install
enable
disable
doctor
memory
status
index
search
message
agent
agents
list
add
delete
acp
status
health
sessions
gateway
call
health
status
probe
discover
install
uninstall
start
stop
restart
run
logs
system
event
heartbeat last|enable|disable
presence
models
list
status
set
set-image
aliases list|add|remove
fallbacks list|add|remove|clear
image-fallbacks list|add|remove|clear
scan
auth add|setup-token|paste-token
auth order get|set|clear
sandbox
list
recreate
explain
cron
status
list
add
edit
rm
enable
disable
runs
run
nodes
devices
node
run
status
install
uninstall
start
stop
restart
approvals
get
set
allowlist add|remove
browser
status
start
stop
reset-profile
tabs
open
focus
close
profiles
create-profile
delete-profile
screenshot
snapshot
navigate
resize
click
type
press
hover
drag
select
upload
fill
dialog
wait
evaluate
console
pdf
hooks
list
info
check
enable
disable
install
update
webhooks
gmail setup|run
pairing
list
approve
docs
dns
setup
tui注意:插件可以添加其他顶级命令(例如 openclaw voicecall)。
安全
- openclaw security audit — 常见安全枪的审核配置+本地状态。
- openclaw security audit --deep — 尽力实时网关探测。
- openclaw security audit --fix — 收紧安全默认值和 chmod 状态/配置。
插件
管理扩展及其配置:
- openclaw plugins list — 发现插件(使用 --json 进行机器输出)。
- openclaw plugins info <id> — 显示插件的详细信息。
- openclaw plugins install <path|.tgz|npm-spec> — 安装插件(或将插件路径添加到 plugins.load.paths)。
- openclaw plugins enable <id> / disable <id> — 切换 plugins.entries.'<id>'.enabled。
- openclaw plugins doctor — 报告插件加载错误。
大多数插件更改都需要重新启动网关。请参阅/插件。
内存
对 MEMORY.md + memory/*.md 进行向量搜索:
- openclaw memory status — 显示索引统计数据。
- openclaw memory index — 重新索引内存文件。
- openclaw memory search "<query>" — 对内存进行语义搜索。
聊天斜杠命令
聊天消息支持 /... 命令(文本和本机)。请参阅 /tools/slash-commands。
亮点:
- /status 用于快速诊断。
- /config 用于持久配置更改。
- /debug 用于仅运行时配置覆盖(内存,而不是磁盘;需要 commands.debug: true)。
设置 + 入门
#
`setup`
初始化配置+工作区。
选项:
- --workspace <dir>:代理工作区路径(默认 ~/.openclaw/workspace)。
- --wizard:运行入门向导。
- --non-interactive:运行向导而不提示。
- --mode <local|remote>:向导模式。
- --remote-url <url>:远程网关 URL。
- --remote-token <token>:远程网关令牌。
ReferenceCliPage step 11: Wizard auto run (ZH)
#
`onboard`
用于设置网关、工作区和技能的交互式向导。
选项:
- --workspace <dir>
- --reset(ReferenceCliPage step 12: Reset (ZH))
- --non-interactive
- --mode <local|remote>
- --flow <quickstart|advanced|manual> (ReferenceCliPage step 12: Flow (ZH))
- --auth-choice <setup-token|token|chutes|openai-codex|openai-api-key|openrouter-api-key|ai-gateway-api-key|moonshot-api-key|kimi-code-api-key|synthetic-api-key|venice-api-key|gemini-api-key|zai-api-key|apiKey|minimax-api|minimax-api-lightning|opencode-zen|skip>
- --token-provider <id>(ReferenceCliPage step 12: Token provider (ZH))
- --token <token>(ReferenceCliPage step 12: Token (ZH))
- --token-profile-id <id>(ReferenceCliPage step 12: Token profile id (ZH))
- --token-expires-in <duration>(ReferenceCliPage step 12: Token expires in (ZH))
- --anthropic-api-key <key>
- --openai-api-key <key>
- --openrouter-api-key <key>
- --ai-gateway-api-key <key>
- --moonshot-api-key <key>
- --kimi-code-api-key <key>
- --gemini-api-key <key>
- --zai-api-key <key>
- --minimax-api-key <key>
- --opencode-zen-api-key <key>
- --gateway-port <port>
- --gateway-bind <loopback|lan|tailnet|auto|custom>
- --gateway-auth <token|password>
- --gateway-token <token>
- --gateway-password <password>
- --remote-url <url>
- --remote-token <token>
- --tailscale <off|serve|funnel>
- --tailscale-reset-on-exit
- --install-daemon
- --no-install-daemon(ReferenceCliPage step 12: No install daemon (ZH))
- --daemon-runtime <node|bun>
- --skip-channels
- --skip-skills
- --skip-health
- --skip-ui
- --node-manager <npm|pnpm|bun> (ReferenceCliPage step 12: Node manager (ZH))
- --json
#
`configure`
交互式配置向导(模型、通道、技能、网关)。
#
`config`
非交互式配置助手(获取/设置/取消设置)。运行 openclaw config 没有
子命令启动向导。
子命令:
- config get <path>:打印配置值(点/括号路径)。
- config set <path> <value>:设置一个值(JSON5 或原始字符串)。
- config unset <path>:删除一个值。
#
`doctor`
健康检查+快速修复(配置+网关+遗留服务)。
选项:
- --no-workspace-suggestions:禁用工作区内存提示。
- --yes:接受默认值而不提示(无头)。
- --non-interactive:跳过提示;仅应用安全迁移。
- --deep:扫描系统服务以获取额外的网关安装。
通道助手
#
`channels`
管理聊天频道帐户(WhatsApp/Telegram/Discord/Google Chat/Slack/Mattermost(插件)/Signal/iMessage/MS Teams)。
子命令:
- channels list:显示配置的通道和身份验证配置文件。
- channels status:检查网关可达性和通道运行状况(--probe 运行额外检查;使用 openclaw health 或 openclaw status --deep 进行网关运行状况探测)。
- 提示:当 channels status 可以检测到常见的错误配置时,它会打印警告以及建议的修复(然后将您指向 openclaw doctor)。
- channels logs:显示网关日志文件中的最新通道日志。
- channels add:没有传递标志时的向导式设置;标志切换到非交互模式。
- channels remove:默认禁用;通过 --delete 删除配置条目而不提示。
- channels login:登录到通道(例如 WhatsApp)。
- channels logout:从通道注销。
常用选项:
- --channel <name>:通道名称。
- --account <id>:帐户 ID(如果需要)。
- --name <label>:显示名称。
日志选项:
登录选项:
- --channel <channel>(通道名称。)
- --account <id>
- --verbose
channels logout 注销选项:
- --channel <channel>(通道名称。)
- --account <id>
注销选项:
- --no-usage隐藏使用情况统计。
- --jsonReferenceCliPage step 17: Json (ZH)
登录选项:
- --channel <name|all> (ReferenceCliPage step 17: 默认 all)
- --lines <n> ((默认 200))
- --json
有关详细信息,请参阅 /channels。
示例:
openclaw channels add --channel telegram --account alerts --name "Alerts Bot" --token $TELEGRAM_BOT_TOKEN openclaw channels add --channel discord --account work --name "Work Bot" --token $DISCORD_BOT_TOKEN openclaw channels remove --channel discord --account work --delete openclaw channels status --probe openclaw status --deep
#
`skills`
列出可用技能并检查安装状态。
子命令:
- skills list:列出可用技能。
- skills info <name>:显示技能的详细信息。
- skills check:检查技能安装状态。
选项:
- --eligible:仅显示符合条件的技能。
- --json:机器可读输出。
- -v、--verbose:详细输出。
有关详细信息,请参阅 /skills。
#
`pairing`
管理设备配对请求。
子命令:
- pairing list <channel> [--json]
- pairing approve <channel> <code> [--notify]
#
`webhooks`
Gmail Pub/Sub 挂钩设置 + 运行程序。请参阅 /automation/gmail-pubsub。
子命令:
- webhooks gmail setup(ReferenceCliPage step 20: Setup (ZH))
- webhooks gmail run (ReferenceCliPage step 20: Run (ZH))
#
`dns setup`
广域发现 DNS 帮助程序(CoreDNS + Tailscale)。请参阅 /gateway/discovery。
选项:
- --apply:安装/更新 CoreDNS 配置(需要 sudo;仅限 macOS)。
消息传递 + 代理
#
`message`
统一的出站消息+渠道操作。
请参阅:/cli/message
子命令:
- message send|poll|react|reactions|read|edit|delete|pin|unpin|pins|permissions|search|timeout|kick|ban
- message thread <create|list|reply>
- message emoji <list|upload>
- message sticker <send|upload>
- message role <info|add|remove>
- message channel <info|list>
- message member info
- message voice status
- message event <list|create>
示例:
- openclaw message send --target +15555550123 --message "Hi"
- openclaw message poll --channel discord --target channel:123 --poll-question "Snack?" --poll-option Pizza --poll-option Sushi
#
`agent`
通过网关(或嵌入的 --local)运行一个代理。
要求:
- --message <text>
选项:
- --to <dest>(ReferenceCliPage step 24: To (ZH))
- --session-id <id>
- --thinking <off|minimal|low|medium|high|xhigh>ReferenceCliPage step 24: Thinking (ZH)
- --verbose <on|full|off>
- --channel <whatsapp|telegram|discord|slack|mattermost|signal|imessage|msteams>
- --local
- --deliver
- --json
- --timeout <seconds>
#
`agents`
管理隔离代理(工作区+身份验证+路由)。
##
`agents list`
列出已配置的代理。
选项:
- --json
- --bindings
##
`agents add [name]`
添加新的隔离代理。除非传递标志(或 --non-interactive),否则运行引导向导;非交互模式下需要 --workspace。
选项:
- --workspace <dir>
- --model <id>
- --agent-dir <dir>
- --bind <channel[:accountId]> ((可重复))
- --non-interactive
- --json
绑定规范使用 channel[:accountId]。当 WhatsApp 省略 accountId 时,将使用默认帐户 ID。
##
`agents delete '<id>'`
删除代理并修剪其工作区+状态。
选项:
- --force
- --json
#
`acp`
运行将 IDE 连接到网关的 ACP 桥。
有关完整选项和示例,请参阅 acp。
#
`status`
显示链接的会话运行状况和最近的收件人。
选项:
- --json
- --all(完整诊断;只读,可粘贴)
- --deep(探测通道)
- --usage(显示模型提供程序使用情况/配额)
- --timeout <ms>
- --verbose
- --debug(--verbose 的别名)
ReferenceCliPage step 39: Notes (ZH)
- 概述包括网关 + 节点主机服务状态(如果可用)。
- ReferenceCliPage step 30: Hide usage (ZH)
- ReferenceCliPage step 30: Usage tracking (ZH)
#
使用情况跟踪
ReferenceCliPage step 31: Oauth intro (ZH)
ReferenceCliPage step 31: Surface (ZH)
- /status(ReferenceCliPage step 31: 状态)
- openclaw status --usage(ReferenceCliPage step 31: Usage (ZH))
- macOS 菜单栏(上下文下的使用部分)
ReferenceCliPage step 31: Notes (ZH)
- ReferenceCliPage step 31: Data (ZH)
- 提供商:Anthropic、GitHub Copilot、OpenAI Codex OAuth,以及启用这些提供商插件时的 Gemini CLI/Antigravity。
- 如果不存在匹配的凭据,则隐藏使用情况。
- ReferenceCliPage step 31: Usage tracking (ZH)
#
`health`
ReferenceCliPage step 32: Get health (ZH)
选项:
- --json
- --timeout <ms>
- --verbose
#
`sessions`
ReferenceCliPage step 33: List sessions (ZH)
选项:
- --json
- --verbose
- --store <path>
- --active <minutes>
重置/卸载
#
`reset`
ReferenceCliPage step 35: Reset local (ZH)
选项:
- --scope <config|config+creds+sessions|full>
- --yes
- --non-interactive
- --dry-run
ReferenceCliPage step 35: Notes (ZH)
- ReferenceCliPage step 35: Non interactive req (ZH)
#
`uninstall`
ReferenceCliPage step 36: Uninstall gateway (ZH)
选项:
- --service
- --state
- --workspace
- --app
- --all
- --yes
- --non-interactive
- --dry-run
ReferenceCliPage step 39: Notes (ZH)
- ReferenceCliPage step 36: Non interactive req (ZH)
网关
#
`gateway`
ReferenceCliPage step 38: Run gateway (ZH)
选项:
- --port <port>
- --bind <loopback|tailnet|lan|auto|custom>
- --token <token>
- --auth <token|password>
- --password <password>
- --tailscale <off|serve|funnel>
- --tailscale-reset-on-exit
- --allow-unconfigured
- --dev
- --reset(重置开发配置+凭据+会话+工作区。)
- --force(杀死端口上现有的侦听器。)
- --verbose
- --claude-cli-logs
- --ws-log <auto|full|compact>
- --compact(ReferenceCliPage step 38: Compact alias (ZH))
- --raw-stream
- --raw-stream-path <path>
#
`gateway service`
ReferenceCliPage step 39: Manage service (ZH)
子命令:
- gateway status (ReferenceCliPage step 39: 状态)
- gateway install(ReferenceCliPage step 39: 安装)
- gateway uninstall
- gateway start
- gateway stop
- gateway restart
ReferenceCliPage step 39: Notes (ZH)
- ReferenceCliPage step 39: 网关默认状态
- ReferenceCliPage step 39: Gateway status support (ZH)
- ReferenceCliPage step 39: 网关额外状态
- ReferenceCliPage step 39: 打印网关状态
- ReferenceCliPage step 39: Gateway commands json (ZH)
- ReferenceCliPage step 39: Gateway install default (ZH)
- ReferenceCliPage step 39: Gateway install options (ZH)
#
`logs`
ReferenceCliPage step 40: Tail logs (ZH)
ReferenceCliPage step 40: Notes (ZH)
- ReferenceCliPage step 40: Tty (ZH)
- JSON 输出。
ReferenceCliPage step 40: Example (ZH)
openclaw logs --follow openclaw logs --limit 200 openclaw logs --plain openclaw logs --json openclaw logs --no-color
#
`models`
ReferenceCliPage step 41: Cli helper (ZH)
子命令:
- gateway call <method> [--params <json>]
- gateway health
- gateway status
- gateway probe
- gateway discover
- gateway install|uninstall|start|stop|restart
- gateway run
ReferenceCliPage step 41: Common rpc (ZH)
- config.apply(ReferenceCliPage step 41: Config apply (ZH))
- config.patch(ReferenceCliPage step 41: Config patch (ZH))
- update.run(ReferenceCliPage step 41: Update run (ZH))
ReferenceCliPage step 41: Tip (ZH)
`sandbox`
ReferenceCliPage step 42: See (ZH)
ReferenceCliPage step 42: Preferred auth (ZH)
claude setup-token openclaw models auth setup-token --provider anthropic openclaw models status
#
`approvals`
ReferenceCliPage step 43: Alias (ZH)
ReferenceCliPage step 43: Root options (ZH)
- --status-json(ReferenceCliPage step 43: Status json (ZH))
- --status-plain(ReferenceCliPage step 43: Status plain (ZH))
#
系统
ReferenceCliPage step 44: 介绍
ReferenceCliPage step 44: 选项
- --all
- --local
- --provider <name>
- --json
- --plain
#
`system`
系统命令(网关 RPC)。
ReferenceCliPage step 45: 选项
- --json
- --plain
- --check(ReferenceCliPage step 45: Check (ZH))
- --probe(ReferenceCliPage step 45: Live probe (ZH))
- --probe-profile <id> (ReferenceCliPage step 45: Repeat (ZH))
- --probe-timeout <ms>
- --probe-concurrency <n>
- --probe-max-tokens <n>
ReferenceCliPage step 45: Auth overview (ZH)
ReferenceCliPage step 45: Probe (ZH)
#
`system event`
ReferenceCliPage step 46: Set primary (ZH)
#
`system heartbeat last|enable|disable`
ReferenceCliPage step 47: Set image model (ZH)
#
`system presence`
列出系统存在条目(网关 RPC)。
选项:
- list:ReferenceCliPage step 48: 列表
- ReferenceCliPage step 48: 添加
- ReferenceCliPage step 48: 移除
#
计划任务
管理计划作业(网关 RPC)。请参阅 /automation/cron-jobs。
ReferenceCliPage step 49: 选项
- list:ReferenceCliPage step 49: 列表
- ReferenceCliPage step 49: 添加
- ReferenceCliPage step 49: 移除
- ReferenceCliPage step 49: 清除
#
节点主机
node 运行无头节点主机或将其作为后台服务进行管理。参见
ReferenceCliPage step 50: 选项
- list: ReferenceCliPage step 50: 列表
- ReferenceCliPage step 50: 添加
- ReferenceCliPage step 50: 移除
- ReferenceCliPage step 50: 清除
#
节点
nodes 与网关通信并以配对节点为目标。请参阅 /nodes。
ReferenceCliPage step 51: 选项
- --min-params <b>(ReferenceCliPage step 51: 最小参数)
- --max-age-days <days>
- --provider <name>
- --max-candidates <n>
- --timeout <ms>
- --concurrency <n>
- --no-probe
- --yes
- --no-input
- --set-default
- --set-image
- --json
#
浏览器
浏览器控制 CLI(专用 Chrome/Brave/Edge/Chromium)。请参阅 openclaw browser 和浏览器工具。
ReferenceCliPage step 52: 选项
- add:ReferenceCliPage step 52: 添加
- setup-token:ReferenceCliPage step 52: 设置令牌
- paste-token:ReferenceCliPage step 52: 粘贴令牌
#
文档搜索
ReferenceCliPage step 53: 介绍
ReferenceCliPage step 53: 选项
- get:ReferenceCliPage step 53: 获取
- set:ReferenceCliPage step 53: 设置
- clear: ReferenceCliPage step 53: 清除
系统
#
途易
ReferenceCliPage step 55: 队列事件
ReferenceCliPage step 55: 要求
- ReferenceCliPage step 55: 文本
ReferenceCliPage step 55: 选项
- --mode <now|next-heartbeat>
- --json
- --url、--token、--timeout、--expect-final
#
`tui`
打开连接到网关的终端 UI。
选项:
- --json
- --url、--token、--timeout、--expect-final
#
`system presence`
系统状态条目一覧显示执行(网关 RPC)。
选项:
- --json
- --url、--token、--timeout、--expect-final
定时任务
Manage scheduled jobs (gateway RPC). See /automation/cron-jobs.
子命令:
- cron status [--json]
- ''cron list [--all] [--json]''(Default table output;For raw data ''--json'' touse)
- ''cron add'' (alias: ''create''; requires ''--name'' and one of ''--at'' | ''--every'' | ''--cron'', and payload from ''--system-event'' | ''--message'')
- ''cron edit <id>''(Patch fields)
- ''cron rm <id>''(alias:''remove''、''delete'')
- cron enable <id>
- cron disable <id>
- cron runs --id <id> [--limit <n>]
- cron run <id> [--force]
所有 cron 命令都接受 --url、--token、--timeout、--expect-final。
节点主机
node runs headless node host or manages it as a background service. See
子命令:
- node run --host <gateway-host> --port 18789
- node status
- node install [--host <gateway-host>] [--port <port>] [--tls] [--tls-fingerprint <sha256>] [--node-id <id>] [--display-name <name>] [--runtime <node|bun>] [--force]
- node uninstall
- node stop
- node restart
节点
nodes communicates with gateway and targets paired nodes. See /nodes.
共通选项:
- --url、--token、--timeout、--json
子命令:
- nodes status [--connected] [--last-connected <duration>]
- nodes describe --node <id|name|ip>
- nodes list [--connected] [--last-connected <duration>]
- nodes pending
- nodes approve <requestId>
- nodes reject <requestId>
- nodes rename --node <id|name|ip> --name <displayName>
- nodes invoke --node <id|name|ip> --command <command> [--params <json>] [--invoke-timeout <ms>] [--idempotency-key <key>]
- nodes run --node <id|name|ip> [--cwd <path>] [--env KEY=VAL] [--command-timeout <ms>] [--needs-screen-recording] [--invoke-timeout <ms>] <command...>ReferenceCliPage step 60: Mac 节点
- nodes notify --node <id|name|ip> [--title <text>] [--body <text>] [--sound <name>] [--priority <passive|active|timeSensitive>] [--delivery <system|overlay|auto>] [--invoke-timeout <ms>]ReferenceCliPage step 60: 仅限 Mac
摄像头:
- nodes camera list --node <id|name|ip>
- nodes camera snap --node <id|name|ip> [--facing front|back|both] [--device-id <id>] [--max-width <px>] [--quality <0-1>] [--delay-ms <ms>] [--invoke-timeout <ms>]
- nodes camera clip --node <id|name|ip> [--facing front|back] [--device-id <id>] [--duration <ms|10s|1m>] [--no-audio] [--invoke-timeout <ms>]
画布+屏幕:
- nodes canvas snapshot --node <id|name|ip> [--format png|jpg|jpeg] [--max-width <px>] [--quality <0-1>] [--invoke-timeout <ms>]
- nodes canvas present --node <id|name|ip> [--target <urlOrPath>] [--x <px>] [--y <px>] [--width <px>] [--height <px>] [--invoke-timeout <ms>]
- nodes canvas hide --node <id|name|ip> [--invoke-timeout <ms>]
- nodes canvas navigate <url> --node <id|name|ip> [--invoke-timeout <ms>]
- nodes canvas eval [<js>] --node <id|name|ip> [--js <code>] [--invoke-timeout <ms>]
- nodes canvas a2ui push --node <id|name|ip> (--jsonl <path> | --text <text>) [--invoke-timeout <ms>]
- nodes canvas a2ui reset --node <id|name|ip> [--invoke-timeout <ms>]
- nodes screen record --node <id|name|ip> [--screen <index>] [--duration <ms|10s>] [--fps <n>] [--no-audio] [--out <path>] [--invoke-timeout <ms>]
場所:
- nodes location get --node <id|name|ip> [--max-age <ms>] [--accuracy <coarse|balanced|precise>] [--location-timeout <ms>] [--invoke-timeout <ms>]
浏览器
浏览器控制 CLI(专用 Chrome/Brave/Edge/Chromium)。openclaw browser 和浏览器工具请参阅。
共通选项:
- --url、--token、--timeout、--json
- --browser-profile <name>
管理:
- browser status
- browser start
- browser stop
- browser reset-profile
- browser tabs
- browser open <url>
- browser focus <targetId>
- browser close [targetId]
- browser profiles
- browser create-profile --name <name> [--color <hex>] [--cdp-url <url>]
- browser delete-profile --name <name>
検査:
- browser screenshot [targetId] [--full-page] [--ref <ref>] [--element <selector>] [--type png|jpeg]
- browser snapshot [--format aria|ai] [--target-id <id>] [--limit <n>] [--interactive] [--compact] [--depth <n>] [--selector <sel>] [--out <path>]
行动:
- browser navigate <url> [--target-id <id>]
- browser resize <width> <height> [--target-id <id>]
- browser click <ref> [--double] [--button <left|right|middle>] [--modifiers <csv>] [--target-id <id>]
- browser type <ref> <text> [--submit] [--slowly] [--target-id <id>]
- browser press <key> [--target-id <id>]
- browser hover <ref> [--target-id <id>]
- browser drag <startRef> <endRef> [--target-id <id>]
- browser select <ref> <values...> [--target-id <id>]
- browser upload <paths...> [--ref <ref>] [--input-ref <ref>] [--element <selector>] [--target-id <id>] [--timeout-ms <ms>]
- browser fill [--fields <json>] [--fields-file <path>] [--target-id <id>]
- browser dialog --accept|--dismiss [--prompt <text>] [--target-id <id>] [--timeout-ms <ms>]
- browser wait [--time <ms>] [--text <value>] [--text-gone <value>] [--target-id <id>]
- browser evaluate --fn <code> [--ref <ref>] [--target-id <id>]
- browser console [--level <error|warn|info>] [--target-id <id>]
- browser pdf [--target-id <id>]
文档搜索
#
`docs [query...]`
实时文档索引搜索执行。
TUI
#
`tui`
Open terminal UI connected to gateway.
选项:
- --url <url>
- --token <token>
- --password <password>
- --session <key>
- --deliver
- --thinking <level>
- --message <text>
- ''--timeout-ms <ms>''(Default is ''agents.defaults.timeoutSeconds'')
- --history-limit <n>