Check the signed-in account
get_accountThe signed-in buyer: their credit balance, subscription status, how many images they already own, and whether a free trial is still available. Call this before proposing a purchase, so you know what they can already afford. Requires sign-in.
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 |
|---|---|---|---|
| Yes | |||
| credits | Yes | ||
| licence | Yes | ||
| account_url | Yes | ||
| paid_credits | Yes | ||
| subscription | Yes | ||
| trial_credits | Yes | ||
| trial_available | Yes | ||
| entitlement_count | Yes |