CLI Reference • TutorialHeader.readTime
Agent
CLI reference for `openclaw agent` (send one agent turn via the Gateway)
Runs an agent turn via the Gateway (embedded mode via --local).
Use --agent <id> to target a configured agent directly.
Related:
- Agent send tool:Agent Send
Tutorial.step
Examples
Bash
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"