Get plan and usage
get_usageReturns the organization's current plan, subscription status, usage of each metered limit in the current billing period, object caps and the plan's features.
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_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| metrics | Yes | ||
| plan_id | Yes | ||
| features | Yes | ||
| plan_name | Yes | ||
| period_end | Yes | ||
| billing_url | No | ||
| period_start | Yes |