Get billing and usage
get_billingPlan, AI credits left, and usage against the plan's limits.
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_billing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Which fields to return. Leave out for the usual ones: plan_name, subscribed, payment_problem, in_trial, current_period_end, cancel_at_period_end, credits, usage, limits, mcp_plan. | |
| project_id | No | Workspace to work in (from list_projects). Leave out for the default one. |