get_current_subscription
Get the user's CURRENT subscription plan and how it is billed. Returns hasLiveSubscription, status (TRIALING/PENDING_FIRST_CHARGE/ACTIVE/PAST_DUE/CANCELLED), planType (STANDARD/PREMIUM/ULTRA), billingProvider (ONCHAIN/STRIPE/APP_STORE/PLAY_STORE), billedTo ('balance' | 'card' | 'app_store'; app_store plans are cancelled or changed in the user's Apple or Google account settings, not in Moneda), balanceFundsRenewal (true only for ONCHAIN — a non-zero stablecoin balance is needed for the next renewal; false for STRIPE card plans, where the wallet balance is irrelevant), currency, billingPeriod, periodEnd, cancelledAt. Use this before advising on a low/zero balance: a 0 balance only threatens the subscription when balanceFundsRenewal is true.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_current_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||