usage_stats
Check AI usage statistics by credential, purpose, and day, including call counts, success rates, and recent failures.
Instructions
查询 AI 使用统计:按凭据、按用途、按天的调用量与成功率,以及最近失败记录。用户询问'密钥用了多少次/用在哪/用来干什么'时调用本工具。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | 只统计指定事件类型 | |
| sinceDays | No | 统计最近 N 天(默认 7;0 或不传=全部历史) | |
| credential | No | 只统计指定凭据 | |
| topPurposes | No | 用途排行条数(默认 10) |