Files
Moltbot/docs/zh-CN/cli/agent.md
2026-02-02 16:38:25 +01:00

1002 B

read_when, summary, title, x-i18n
read_when summary title x-i18n
您想从脚本中运行一次智能体轮次(可选择投递回复)
`openclaw agent` 的 CLI 参考(通过 Gateway 发送一次智能体轮次) agent
generated_at model provider source_hash source_path workflow
2026-02-01T19:58:31Z claude-opus-4-5 pi dcf12fb94e207c68645f58235792596d65afecf8216b8f9ab3acb01e03b50a33 cli/agent.md 14

openclaw agent

通过 Gateway 运行一次智能体轮次(使用 --local 进行嵌入式运行)。 使用 --agent <id> 直接指定一个已配置的智能体。

相关内容:

示例

openclaw agent --to +15555550123 --message "status update" --deliver
openclaw agent --agent ops --message "Summarize logs"
openclaw agent --session-id 1234 --message "Summarize inbox" --thinking medium
openclaw agent --agent ops --message "Generate report" --deliver --reply-channel slack --reply-to "#reports"