Repository status
get_repoFetches full status for one repository by id, name, path or name prefix: branch, upstream ahead/behind, worktrees, stashes, recent activity and last commit, with optional drill-in detail and GitHub PR and issue data.
Instructions
Full status of ONE repository, found by id, name, path or a unique prefix of its name — branch, upstream ahead/behind, worktree counts, stashes, recent activity, last commit, plus a local drill-in detail (recent commits, per-branch sync, changed files, stash list). Adds remote_detail (open PRs, contributors, open issues, latest release) when the repo has a GitHub remote and a token. Use when the user names a single repo; for several repos call list_repos with a selector instead.
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": {
"repo": "<repo>"
},
"name": "get_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repo id, name/alias, path, or a unique prefix of a name (an exact match wins; a name several repos share is an error listing their paths). |