get_copilot_metrics_for_team
Retrieve daily GitHub Copilot usage metrics for a specific team, including code completions, chat activity, and active user counts within a defined date range.
Instructions
Get daily Copilot usage metrics for a specific team within an Organization
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": {
"team_slug": "<team_slug>"
},
"name": "get_copilot_metrics_for_team"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | Organization name (defaults to GITHUB_ORG env var) | |
| team_slug | Yes | Team slug (required) | |
| since | No | Start date in YYYY-MM-DD format (defaults to 28 days ago) | |
| until | No | End date in YYYY-MM-DD format (defaults to today) | |
| force_refresh | No | Ignore cache and fetch fresh data |