resolve_repo
Detect the repository owner and name from a git remote to establish context for later API calls. Reads upstream, origin, or any other remote, defaulting to the current directory. Call once at session start to avoid guessing.
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) |