|
Download docs/cli/agent.md from shimen/shinclaw: direct link, hf CLI and curl.
- Browser
- Download file 735 Bytes
-
https://huggingface.co/spaces/shimen/shinclaw/resolve/main/docs/cli/agent.md
- Command line
-
hf download hf://spaces/shimen/shinclaw/docs/cli/agent.md
-
curl -L -o agent.md https://huggingface.co/spaces/shimen/shinclaw/resolve/main/docs/cli/agent.md
735 Bytes
| summary: "CLI reference for `openclaw agent` (send one agent turn via the Gateway)" | |
| read_when: | |
| - You want to run one agent turn from scripts (optionally deliver reply) | |
| title: "agent" | |
| # `openclaw agent` | |
| Run an agent turn via the Gateway (use `--local` for embedded). | |
| Use `--agent <id>` to target a configured agent directly. | |
| Related: | |
| - Agent send tool: [Agent send](/tools/agent-send) | |
| ## 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" | |
| ``` | |