Credit balance
get_walletShow the Zearch credit balance for the current key, including available and held credits, plan, lot expiration, and optional recent ledger entries.
Instructions
Show the Zearch credit balance this key spends from: available and held credits, plan, credit lots and when they expire. Optionally include recent ledger entries. Free.
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_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| before | No | next_before cursor from a previous call, for older entries. | |
| include_entries | No | Also return recent ledger entries. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | ||
| entries | No |