l402-balance
Retrieve a server's cached credit balance without any network request. Returns the last known balance and flags it as stale if updated over 5 minutes ago.
Instructions
Check cached credit balance for a server. Returns the last known balance from the credential store without making a network request. The "stale" flag is true if the balance was last updated more than 5 minutes ago.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"origin": "<origin>"
},
"name": "l402-balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | The server origin (e.g. https://api.example.com) |