Repository snapshot
get_repoRead one stored repository, its latest measured growth and health. Optional history uses stored star snapshots; it never calls GitHub. Check as_of and last_synced_at before citing counts.
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": {
"owner": "<owner>",
"name": "<name>"
},
"name": "get_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | GitHub repository name. | |
| owner | Yes | GitHub owner or organization. | |
| include_history | No | Include up to 365 recent stored daily star snapshots. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | Data-derived observation time or ranking week_start; null if unavailable. Individual repositories can have different freshness. | |
| health | Yes | ||
| warnings | Yes | ||
| repository | Yes | ||
| generated_at | Yes | ||
| schema_version | Yes | ||
| star_snapshots | Yes | ||
| weekly_metrics | Yes |