query_balance
Query real-time GLM and Kimi Coding Plan token/credit balances to track 5-hour, weekly, and monthly quota usage, remaining percentages, and reset times for one or all enabled accounts.
Instructions
查询 GLM 与 Kimi Coding Plan 账号的实时 Token/积分余额,包含 5小时滚动窗口及周(7d)/月(30d)周期的已用额度、剩余比例与重置时间。
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": "query_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | 可选,指定查询单个账号 ID;不填则查询 JSON 配置文件中所有启用账号 |