ai_metrics
Retrieve accumulated AI metrics including cache hit rate, token usage, and error counts to monitor performance after AI inferences.
Instructions
返回进程内累积的 AI 调用指标 (Prompt Caching 命中率、token 消耗、错误次数)。对应 P4.4: ai.cache_hit_rate / ai.tokens_saved_via_cache 等。可在每次 ai_infer_business_names 等工具调用后查询。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reset | No | 查询后是否重置计数 (默认 false) |