jsdelivr_gh_stats
Retrieve daily hits and bandwidth statistics for a GitHub repository on jsDelivr by specifying the user, repo, and optional time period.
Instructions
Get daily usage stats (hits + bandwidth) for a GitHub repo on jsDelivr.
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": {
"user": "<user>",
"repo": "<repo>"
},
"name": "jsdelivr_gh_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | GitHub repo name, e.g. 'bootstrap' | |
| user | Yes | GitHub username or org, e.g. 'twbs' | |
| period | No | Time period: floating (day|week|month|quarter|year), static (s-month|s-quarter|s-year), or date (YYYY-MM|YYYY-Qq|YYYY). Default: month |