list_subscriptions
Retrieve a list of all active subscriptions including subscription IDs, categories, and filter conditions to manage your A2A Market subscriptions.
Instructions
列出我的所有活跃订阅。返回订阅列表含 subscription_id、品类、过滤条件。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:621-624 (schema)Tool schema registration for 'list_subscriptions' – defines the tool name, description, and an empty inputSchema (no parameters needed).
{ name: 'list_subscriptions', description: '列出我的所有活跃订阅。返回订阅列表含 subscription_id、品类、过滤条件。', inputSchema: { type: 'object' as const, properties: {} }, - src/index.ts:997-999 (handler)Handler case within the main tool dispatch switch – calls client.listSubscriptions() with no arguments.
case 'list_subscriptions': result = await client.listSubscriptions(); break; - src/acap-client.ts:342-344 (helper)Actual API client method – sends a GET request to '/acap/v1/subscriptions' to retrieve all active subscriptions.
async listSubscriptions() { return this.request('GET', '/acap/v1/subscriptions'); } - src/index.ts:143-146 (registration)Tool is listed under the 'subscription' group in the tool organization map.
subscription: [ 'subscribe_intent', 'unsubscribe_intent', 'list_subscriptions', 'get_incoming_intents', ],