Check credits
get_accountHow many credits are left on the key you are using, and what that key is. Free. Every successful call also reports this in _meta, so reach for this one when you need to know before you spend — a download costs 10 — or when your calls have been failing and you have not seen a balance in a while.
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_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyId | Yes | Id of the credential that made this call, as `<kind>:<id>` — `key:` for an API key, `oauth:` for an MCP client's OAuth grant. Treat it as an opaque string: it identifies the credential, not the account, and further kinds may appear. | |
| credits | Yes | Credits left on the account this key bills to, after this call. | |
| memberSince | Yes | When the account was created. |