Get GitHub issue
get_issueFetch a GitHub issue with its title, state, labels, author, dates, body, recent comments, and linked pull requests. Use it read-only to start triaging issues.
Instructions
Fetch a GitHub issue with its discussion: title, state, labels, author, dates, body, recent comments, and linked pull requests. Read-only. Start here when triaging an issue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | GitHub repository name. Optional, see "owner". | |
| owner | No | GitHub owner (user or org). Optional: defaults to the workspace's "origin" remote (local mode) or the only allowlisted repo (remote mode). | |
| issue_number | Yes | Issue (or PR) number, e.g. 42. | |
| max_comments | No | Maximum number of comments to return (most recent first kept). Default 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| body | Yes | ||
| repo | Yes | ||
| owner | Yes | ||
| state | Yes | ||
| title | Yes | ||
| author | Yes | ||
| labels | Yes | ||
| number | Yes | ||
| comments | Yes | ||
| created_at | Yes | ||
| linked_prs | Yes | ||
| updated_at | Yes | ||
| total_comments | Yes | ||
| is_pull_request | Yes |