Get credit balance
get_credit_balanceMightyAI credit balance for this workspace plus the last 10 ledger entries (grants, purchases, spend), this is how you check what MCP calls and AI usage cost.
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_credit_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | Present only when ok is false. | |
| balance_usd | No | ||
| balance_micros | No | ||
| lifetime_spent_usd | No | ||
| recent_transactions | No | ||
| lifetime_granted_usd | No | ||
| lifetime_purchased_usd | No |