resolve_repo
Reads git remotes to identify repository owner and repo name, enabling accurate API calls without manual input.
Instructions
Detect baseUrl/owner/repo from a git repository's remotes (SSH or HTTPS). Reads upstream first, then origin, then any other remote; all discovered remotes are returned. path defaults to the current directory. Call ONCE at the start of a session to establish owner/repo for later calls instead of guessing. Errors if no parseable remote is found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to the git repository (defaults to current directory) |