roi-executor
SKILL.md
ROI Executor
按 ai_plan 中每个 step 的 api_path、method、params 构造 HTTP 请求,执行活动操作,默认都使用POST类型进行请求
# POST(抽奖、送礼、签到等)
curl -s -X POST '{api_base_url}{api_path}' \
-H 'Content-Type: application/json' \
-d '{"uid": 201011975, "act_id": 6301, "number": 10, "type": "lottery_2", "auto_purchase": "true"}'
- 参数名和路径直接来自 ai_plan,不需要查询接口文档
- 记录每次请求参数和响应结果(用于生成 result_summary)
- 调用失败时记录错误,继续执行,不中断整体流程