| Gh.dry_run(enabled: bool) / Gh.is_dry_run() | self / bool | Enable or inspect operation-level dry-run mode for write methods. |
| Gh.repo_view(owner: string, repo: string) | Repo | Fetch repository metadata, counts, flags, and topics. |
| Gh.file_text(owner: string, repo: string, path: string) | string | Fetch UTF-8 text of a file from the repository. |
| Gh.issue_list(owner: string, repo: string, state: string, limit: int) / Gh.issue_view(owner: string, repo: string, num: int) | IssueList / Issue | List or view issues in a repository. |
| Gh.pr_list(owner: string, repo: string, state: string, limit: int) / Gh.pr_view(owner: string, repo: string, num: int) | PrList / Pr | List or view pull requests in a repository. |
| Gh.pr_triage(owner: string, repo: string, num: int) | Triage | Aggregate CI check counts, review counts, mergeability, and readiness for a PR. |
| Gh.release_list(owner: string, repo: string, limit: int) | ReleaseList | List recent releases for a repository. |
| Gh.run_list(owner: string, repo: string, limit: int) / Gh.run_failed_log(owner: string, repo: string, id: int) | RunList / string | List workflow runs or fetch the failed-job log text for a run ID. |
| Gh.search_repos(q: string, limit: int) / search_issues(q: string, limit: int) / search_prs(q: string, limit: int) | RepoList / IssueList / PrList | Search repositories, issues, or pull requests across GitHub. |
| Gh.issue_create(owner: string, repo: string, title: string, body: string) / issue_close(owner: string, repo: string, num: int, reason: string) | Issue / string | Create or close an issue (honors dry_run). |
| Gh.pr_comment(owner: string, repo: string, num: int, body: string) / label_add(owner: string, repo: string, num: int, label: string) / pr_merge(owner: string, repo: string, num: int, method: string) | string | Comment on, label, or merge an issue or pull request (honors dry_run). |
| Gh.release_create(owner: string, repo: string, tag: string, title: string, notes: string, draft: bool, prerelease: bool) | string | Create a GitHub release (honors dry_run). |
| Gh.pr_prepare(owner: string, repo: string, title: string, body: string, base: string, head: string, draft: bool) / Gh.pr_submit(owner: string, repo: string, path: string) | string / Pr | Write a reviewable PR TOML file and submit it after human verification. |
| Gh.pr_review_prepare(owner: string, repo: string, num: int, event: string, body: string) / Gh.pr_review_submit(owner: string, repo: string, num: int, path: string) | string / Review | Write a PR review verdict TOML file and submit it after human verification. |
| fn pr_create_toml(toml: string) | Json | Validate and create a pull request from an inline [pr] TOML table. |