GitHub batch activity snapshot
github_batch_activityFetch a windowed activity snapshot for up to 5 GitHub repositories in one call: stars, forks, open issues/PRs, commits, CI conclusions, and top contributor shares.
Instructions
Windowed activity snapshot for up to 5 repositories in one call: stars, forks, open issues/PRs, recent commits, CI run conclusions, and top contributors with their share. Uses core endpoints only; search quota untouched. Each repository's four to seven core GETs run sequentially under a 25-second per-repo timeout: a timed-out repository reports ok:false while the others stay ok:true, and the abandoned request's result is discarded. Contributor gathering stops after 3 pages of 100. Returns {window_days, top_n, generated_at, items[repo item or error item], meta}.
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": {
"repos": "<repos>"
},
"name": "github_batch_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Bypass the local cache | |
| repos | Yes | Repositories in owner/name form, at most 5 | |
| top_n | No | Top contributors to project, 1-20, default 5 | |
| window_days | No | Analysis window in days, 1-90, default 30 |