Check AUI Key Credits & Inspect Cached Widget
aui_get_statusInspect an API key's tier and remaining credits, or retrieve cached widget metadata and embed URL without spending credits; use it before generating or sharing UI.
Instructions
Inspect an aui_api_key's tier and remaining credit balance, and/or retrieve metadata and embed_url for an existing cached widget (cache_id chk_...), with zero credit deduction. Strictly read-only and idempotent (0 credits consumed; 120 req/15m per-IP limit; never exposes stored BYOK secrets). Use before aui_generate_ui or aui_share_widget to verify available credits, or to look up and reuse an existing chk_... widget (exists, ui_type, title, item_count, embed_url) instead of regenerating it.
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": "aui_get_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache_id | No | Optional `chk_...` widget identifier returned by `aui_generate_ui` to verify existence and metadata. | |
| aui_api_key | No | Optional `trial-...` or `svsrva-key-...` to inspect (falls back to `Authorization: Bearer` header, or reports sandbox status if omitted). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Validation error message when `success` is false. | |
| widget | No | ||
| success | Yes | True when the status lookup succeeded. | |
| key_status | No |