中文 Agent Send
约 3 分钟
- 原始链接:https://docs.openclaw.ai/zh-CN/tools/agent-send
- 来源章节:5. 官方文档:工具、技能、插件与自动化
- 来源小节:无
- 抓取方式:jina:https://r.jina.ai/http://docs.openclaw.ai/zh-CN/tools/agent-send
- 抓取时间:2026-04-05 13:47:10
- 状态:ok
中文内容
发送代理 - OpenClaw
简体中文
搜索。
Ctrl+K
搜索。
导航
代理队
代理发送
概览
内置工具
- apply_patch 工具
- Brave Search
- 提升模式
- Exec 工具
- 执行审批
- Firecrawl
- LLM 任务
- Lobster
- Perplexity Sonar
- 表情回应
- 思考级别
- Web 工具
浏览器
代理协作
技能
扩展
自动化与任务
媒体与设备
在此页面
代理协作
Agent Send
openclaw agent(直接智能体运行)
openclaw agent 运行单个智能体回合,无需入站聊天消息。 默认情况下它通过 Gateway 网关运行;添加 --local 以强制在当前机器上使用嵌入式运行时。
行为
-
必需:
--message <text> -
会话选择:
--to <dest>派生会话键(群组/频道目标保持隔离;直接聊天折叠到main),或--session-id <id>通过 ID 重用现有会话,或--agent <id>直接定位已配置的智能体(使用该智能体的main会话键)
-
运行与正常入站回复相同的嵌入式智能体运行时。
-
思考/详细标志持久化到会话存储中。
-
输出:
- 默认:打印回复文本(加上
MEDIA:<url>行) --json:打印结构化负载 + 元数据
- 默认:打印回复文本(加上
-
可选使用
--deliver+--channel将回复投递回渠道(目标格式与openclaw message --target匹配)。 -
使用
--reply-channel/--reply-to/--reply-account覆盖投递而不更改会话。
如果 Gateway 网关不可达,CLI 会回退到嵌入式本地运行。
示例
openclaw agent --to +15555550123 --message "status update"
openclaw agent --agent ops --message "Summarize logs"
openclaw agent --session-id 1234 --message "Summarize inbox" --thinking medium
openclaw agent --to +15555550123 --message "Trace logs" --verbose on --json
openclaw agent --to +15555550123 --message "Summon reply" --deliver
openclaw agent --agent ops --message "Generate report" --deliver --reply-channel slack --reply-to "#reports"
标志
--local:本地运行(需要你的 shell 中有模型提供商 API 密钥)--deliver:将回复发送到所选渠道--channel:投递渠道(whatsapp|telegram|discord|googlechat|slack|signal|imessage,默认:whatsapp)--reply-to:投递目标覆盖--reply-channel:投递渠道覆盖--reply-account:投递账户 ID 覆盖--thinking <off|minimal|low|medium|high|xhigh>:持久化思考级别(仅限 GPT-5.2 + Codex 模型)--verbose <on|full|off>:持久化详细级别--timeout <seconds>:覆盖智能体超时--json:输出结构化 JSON
Ctrl+I