subscriptions.list

Live

List active subscriptions for your client.

CategorySubscriptions
JSON-RPCtools/call
EndpointPOST /mcp
Sourcepackages/subscriptions/src/tools/subscriptions-list.ts

Description

Per ADR-0021 §subscriptions.

Input schema

FieldTypeRequiredDescription
active_onlybooleannoDefault true.

Output shape

typescript
{ items: Array<{ subscription_id: string; action_class: string; counterparty_filter?: object; mode_filter?: string[]; expires_at?: string; created_at: string }> }

Example call

JSON-RPC tools/call request body (omit the JSON-RPC envelope when using an SDK; the SDK adds it for you):

jsontools/call params
{ "name": "subscriptions.list", "arguments": { "active_only": true } }

Example response

Tool results are always wrapped as content[0].text with a stringified JSON body. The shape below is what you get back from JSON.parse(result.content[0].text):

jsonparsed result body
{ "items": [{ "subscription_id": "sub_01H...", "action_class": "communicate", "counterparty_filter": { "classification": "colleague" }, "mode_filter": ["ask"], "created_at": "2026-06-15T10:00:00Z" }] }

Errors this tool can return

CodeMeaning
invalid_argumentsTool input failed Zod validation.
unauthorizedMissing or invalid bearer token.
quota_exceededPer-minute, daily call, or daily inference budget exceeded.

See the full error catalog for resolution steps on each code, plus the standard transport-layer responses (401, 429).