用途:该技能用于与 Graphy 交互并管理其数据,适合需要在智能体或脚本中读取 Graphy 课程、用户、报名、订单和产品等信息的场景。
主要能力:通过 Membrane CLI 连接 Graphy,自动处理认证与凭据刷新。内置常见操作包括获取/列出订单、报名、用户、课程和产品(如 get-order、list-orders、get-enrollment、list-enrollments、get-user、list-users、get-course、list-courses、get-product、list-products)。
使用方式:先安装 CLI:npm install -g @membranehq/cli@latest;再登录:membrane login --tenant --clientName=<agentType>(无界面环境会打印授权 URL,完成后用 membrane login complete <code>)。随后建立连接:membrane connection ensure "https://graphy.com/" --json;若状态为 BUILDING,可轮询 membrane connection get <id> --wait --json 直到 READY。查找操作:membrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --json。运行操作:membrane action run <actionId> --connectionId=CONNECTION_ID --json,传参用 --input '{"key": "value"}'。若内置操作不足,可用代理直接请求:membrane request CONNECTION_ID /path/to/endpoint。
适用场景:需要以自然语言意图查找并执行 Graphy 数据操作,或通过代理调用的集成开发。
限制:资料未提供 Graphy 官方 API 的完整端点、速率限制、权限范围与错误码细节;官方文档链接为 https://graphy.org/docs/。部分能力取决于已创建连接和可用操作,资料未说明收费与价格信息。