get_jobs_by_dimension
Break down CI job metrics by repository, workflow, branch, or runner type to identify top resource consumers by duration, job count, or failures.
Instructions
Break down job metrics by dimension: repository, workflow, branch, or runner_type. Shows which repos/workflows consume the most CI time. Example: get_jobs_by_dimension(dimension="repository", metric="duration")
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": "get_jobs_by_dimension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Number of top results to return. Defaults to 20. | |
| metric | No | Metric to measure. Defaults to jobs. | |
| end_date | No | End date (YYYY-MM-DD). Defaults to today. | |
| dimension | No | Dimension to break down by. Defaults to repository. | |
| start_date | No | Start date (YYYY-MM-DD). Defaults to 7 days ago. |