订阅策略
platform_subscribe_plan【账户与额度】购买平台套餐(写操作,需用户确认):plan_id 必填(来自 platform_plans),period 可选 day/week/month/year,payment_method 可选 chain/x402。创建支付订单,支付在平台完成。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"plan_id": "<plan_id>"
},
"name": "platform_subscribe_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 订阅周期(可选) | |
| plan_id | Yes | 套餐 ID(必填) | |
| payment_method | No | 支付方式(可选,默认 chain;仅支持加密货币) |