model_performance
Retrieve aggregated call metrics per model for the last three days. Filter by endpoint, sort by call count, success count, or latency.
Instructions
Return近3天 aggregated call metrics per model (background-updated).
Args: endpoint: limit to a single endpoint name. sort_by: one of call_count / success_count / avg_first_byte_ms / avg_prompt_tokens / avg_output_tokens. limit: max rows to return.
Each row includes call_count, success_count, success_rate, avg_first_byte_ms, avg_prompt_tokens, avg_output_tokens, window_days.
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": "model_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| sort_by | No | call_count | |
| endpoint | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |