Get the active subscription
get_subscriptionGet the active subscription
Returns the account's current active subscription together with the plan it pays for. Only subscriptions in state active are considered; if several exist the most recently created one is returned. An account with no active subscription is not an empty response but a 404, so treat that status as "on no plan" rather than as an error worth retrying.
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_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||