GitHub rate limit
github_rate_limitCheck authenticated or anonymous GitHub API quota and reset times, optionally for a single resource bucket or all buckets, to diagnose 403 and 429 rate-limit responses before retrying.
Instructions
Report the authenticated or anonymous GitHub API quota and reset times. Set resource to project a single bucket such as core or search. Call this first when a request is refused with 403 or 429. Returns {auth, resources keyed by bucket with {limit, remaining, reset, used}}; defaults to core and search; pass all: true for every bucket; adds authenticated_as and scopes when the identity opt-in is on.
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": "github_rate_limit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Return every quota bucket; the default projects core and search only | |
| resource | No | Limit the projection to one resource bucket, e.g. core or search |