metrics_levels
Distribution of log levels: count and percentage of debug, info, warn, error, and fatal entries. Use this to understand the severity profile of logs and if error rates are elevated.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "metrics_levels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minutes | No | Window size in minutes (default 60). | |
| project_id | Yes | The project to query. Call list_projects first to see which ids you can use. |