Repository Insights
get_repo_insightsGet repository insights: stars, forks, traffic (clones/views), referrers, and popular paths. Use "sections" to control token usage: stars (~50 tokens), traffic (~100), referrers (~100), paths (~100), or all (~350).
Instructions
Get repository insights: stars, forks, traffic (clones/views), referrers, and popular paths. Use "sections" to control token usage: stars (~50 tokens), traffic (~100), referrers (~100), paths (~100), or all (~350).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository name - LEAVE EMPTY to auto-detect | |
| owner | No | Repository owner - LEAVE EMPTY to auto-detect | |
| sections | No | Data section to return (default: stars). Use "all" for full payload. | |
| use_test_db | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code (e.g. VALIDATION_ERROR, INTERNAL_ERROR) | |
| repo | No | ||
| size | No | ||
| error | No | Human-readable error message | |
| forks | No | ||
| owner | No | ||
| paths | No | ||
| stars | No | ||
| details | No | Additional error context | |
| section | No | ||
| success | No | ||
| traffic | No | ||
| category | No | Error category (validation, query, connection, internal) | |
| watchers | No | ||
| referrers | No | ||
| openIssues | No | ||
| suggestion | No | Suggested fix for the error | |
| instruction | No | ||
| recoverable | No | Whether the error is recoverable | |
| defaultBranch | No | ||
| aggregated_errors | No | Details of individual errors in a multi-step operation | |
| requiresUserInput | No |