Files
openclaw/docs/cli/agent.md

23 lines
713 B
Markdown
Raw Normal View History

2026-01-15 06:12:54 +00:00
---
summary: "CLI reference for `moltbot agent` (send one agent turn via the Gateway)"
2026-01-15 06:12:54 +00:00
read_when:
- You want to run one agent turn from scripts (optionally deliver reply)
---
# `moltbot agent`
2026-01-15 06:12:54 +00:00
Run an agent turn via the Gateway (use `--local` for embedded).
Use `--agent <id>` to target a configured agent directly.
2026-01-15 06:12:54 +00:00
Related:
- Agent send tool: [Agent send](/tools/agent-send)
## Examples
```bash
moltbot agent --to +15555550123 --message "status update" --deliver
moltbot agent --agent ops --message "Summarize logs"
moltbot agent --session-id 1234 --message "Summarize inbox" --thinking medium
moltbot agent --agent ops --message "Generate report" --deliver --reply-channel slack --reply-to "#reports"
2026-01-15 06:12:54 +00:00
```