get_credits
Check your Pixio account's current credit balance to verify affordability before generating media. Optionally view recent spend and top-up history for audit.
Instructions
Report the Pixio account's current credit balance.
Use to check affordability before a job or to audit spend after one. Every terminal generate / wait_for_generation result already includes "remaining_balance", so this tool is mainly for standalone balance checks and recent-spend review.
Args: include_ledger_tail: When true, also return the most recent credit ledger entries (spend and top-up history). ledger_limit: Maximum ledger entries to include (default 10; only used when include_ledger_tail is true; negative values are treated as 0).
Returns: {"total": , "recurring": {"current", "quota", "lastTopOffAt"}, "permanent": }, plus "ledger_tail": [{"id", "reason", "deltaRecurring", "deltaPermanent", "sourceId", "createdAt"}, ...] when include_ledger_tail is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ledger_limit | No | ||
| include_ledger_tail | No |