跳轉到主要內容

openclaw agent

透過 Gateway 閘道器 執行一次代理程式回合(內嵌使用請改用 --local)。 使用 --agent <id> 以直接指定已設定的代理程式。 透過 Gateway 閘道器 執行一次代理程式回合(內嵌使用請改用 --local)。 使用 --agent <id> 以直接指定已設定的代理程式。 Use --agent <id> to target a configured agent directly. Related:

範例

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"