Get Subscription
get_subscriptionRetrieve active subscription details for a project, including plan name, billing period, status, and renewal date. Use projectId to target a specific project.
Instructions
Retrieve the active subscription for a specific project, including plan name, billing period, status, and renewal date. Subscriptions are per-project.
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 |
|---|---|---|---|
| projectId | No | The project ID to get the subscription for. If omitted, the API returns the subscription for the user's first project. |