Check model key credit
check_model_creditAsk each model key the workspace's agents run on whether its account can pay, with a billed request: a one-token answer for an OpenAI or Anthropic key (about a thousandth of a cent), and for an OpenRouter key the model and output limit of each default agent (less than a hundredth of a cent), which OpenRouter refuses when the balance cannot pay for the full output. willFail is true when the key the default agents use cannot pay: a mission started now stops at its first request. warning is the sentence to show the person.
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": "check_model_credit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||