SuperAPI AI 工具集

openclaw-control

智能体与模型

查看项目

更新于 10-16 06:51

技能介绍

用途:通过 Naga 的 Agent Server API 控制和管理 OpenClaw AI 助手,包括下发任务、查看状态和调整配置。

主要能力:

  1. 发送消息:POST /openclaw/send,请求体含 message 与 wake_mode(如 now 表示立即执行)。
  2. 状态检查:GET /openclaw/health、GET /openclaw/status、GET /openclaw/session。
  3. Gateway 管理:POST /openclaw/gateway/start、/stop、/restart,GET /openclaw/gateway/status。
  4. 配置管理:GET /openclaw/config、POST /openclaw/config/model、POST /openclaw/config/hooks。
  5. 结果查看:通过 /openclaw/history 获取执行结果。

使用流程:先调用健康检查确认 OpenClaw 可用,再用 /openclaw/send 发送任务,最后通过 /openclaw/history 监控结果。示例任务:发送“帮我整理桌面上的文件,按类型分类”。

限制与注意:OpenClaw 默认运行在 http://127.0.0.1:18789;发送消息需配置 Hooks Token;资料建议使用免费的 GLM-4.7 模型进行测试。其余安装命令、收费与适用平台信息暂未提供。