API quota [any key]
check_quotaRequires an API key (free key, mã chat, api_plus, or api_pro). Returns plan, remaining_month, remaining_day, and reset_at. Pass access_code only when the client cannot send Authorization: Bearer.
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_quota"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| access_code | No | Mã chat ngắn hạn, chỉ khi client không gửi được header |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| tier | Yes | ||
| tool | Yes | ||
| gated | No | ||
| quota | No | ||
| source | Yes | ||
| disclaimer | Yes | ||
| source_url | Yes | ||
| attribution | Yes | ||
| method_note | Yes | ||
| upgrade_url | Yes | ||
| generated_at | Yes | ||
| algorithm_version | Yes |