apifox-query
SKILL.md
Apifox Query
查询活动服务端 API 文档(7000+ 接口),根据用户意图找到准确的API路径和参数。
模式A:关键词搜索(默认首选,~30ms)
curl -s -X POST https://activity-ai.weplayapp.com/api/apifox/recommend \
-H 'Content-Type: application/json' \
-d '{"user_intent": "送礼", "tag": "版本相关接口"}'
| 参数 | 必填 | 说明 |
|---|---|---|
| user_intent | 是 | 简短意图关键词(如"抽奖"、"送礼"、"签到") |
| tag | 否 | 最高层级 tag,只支持:20xx活动(如2026活动)、公共接口、常驻活动、模板活动、版本相关接口、组件接口 |
| top_n | 否 | 返回数量,默认10 |
响应中每个候选包含 path、method、parameters(含正确参数名)、score。