正式环境固定调用地址:GET https://www.kutetailor.com/api/member/member/current
这个 skill 是最小颗粒度接口 skill,只负责一个平台接口动作:current_member。需要组合成完整业务链路时,由上层 agent 按聚合 skill 或计划文档编排多个原子 skill。
当用户需要当前账号时使用。若用户需求需要多个接口步骤,本 skill 只完成本接口调用,并把关键返回字段交给后续 skill。
tool arguments 统一使用嵌套 params 对象:
{
"params": {
"accessToken": "Bearer token or raw token",
"query": {},
"path": {},
"body": {},
"headers": {}
}
}
重要约束:
params,不要使用 params.xxx 这类点号顶层 key。base_url,调用时不要从用户输入覆盖。params.accessToken 生成 Authorization: Bearer ;如果传入值已含 Bearer ,不要重复拼接。params.path,Query 参数写入 params.query,JSON Body 写入 params.body,额外 Header 写入 params.headers。| action | 请求 | URL | 参数 | 返回 | 用途 |
|---|---|---|---|---|---|
| --- | --- | --- | --- | --- | --- |
current_member | GET | /member/current | Header:Authorization | RS | 当前账号。 |
base_url。{变量} 从 params.path 替换。| 字段 | 值 |
|---|---|
| --- | --- |
| 聚合 skill | platform-member-account |
| 聚合 skill 文档 | doc/skill/platform-member-account/SKILL.md |
| 原始 action | current_member |
共 3 个版本