Check usage & credits
check_usageReturn the account's remaining Lenz credits, and what they still buy.
One pool funds every call. ``costs`` is the live price list — read the
weight from there rather than assuming one. ``verify_claim`` is the
expensive tool by an order of magnitude; ``assess_claim`` and
``ask_followup`` are the cheap ones.
``costs`` is keyed by capability at its default price. ``cost_options``
holds the prices that depend on a request parameter, nested capability →
parameter → value — today ``verify_claim`` at ``depth="low"``, under
``cost_options.verify.depth.low``. Read the low-depth price from there.
``assess_remaining`` and ``verify_remaining`` are two views of the SAME
balance, not separate allowances: spending on one reduces both. Call this
when the user asks about credits, or before a large batch to size it
against ``credits_remaining``. It is not a prerequisite: never call it
before an ordinary check. ``next`` is one example of what the user can ask.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||