Get Subscription
get_subscriptionReads a business's subscription status, plan name, and renewal or end date so you can explain what cancellation will do before changing the plan.
Instructions
Read the business's own plan: no_paid_plan, active, or canceling, with the plan name and the renewal or end date. Use before cancel_subscription to tell the owner what will happen.
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 |
|---|---|---|---|
| business_id | No | Business ID (optional only when the token can access exactly one business). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | ||
| error | No | Present when success is false | |
| state | No | ||
| status | No | ||
| success | Yes | Whether the tool completed successfully | |
| manage_url | No | ||
| period_end | No | ||
| business_id | No |