get-issue
Retrieve detailed information about a specific GitHub Enterprise issue using repository owner, repository name, and issue number parameters.
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": {
"owner": "<owner>",
"repo": "<repo>",
"issue_number": "<issue_number>"
},
"name": "get-issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner (user or organization) | |
| repo | Yes | Repository name | |
| issue_number | Yes | Issue number |
Implementation Reference
- api/issues/issues.ts:40-46 (handler)The core handler function that implements the logic to fetch a single GitHub issue from the repository using the GitHubClient.
export async function getIssue( client: GitHubClient, params: GetIssueParams ): Promise<Issue> { const { owner, repo, issue_number } = params; return client.get<Issue>(`/repos/${owner}/${repo}/issues/${issue_number}`); } - api/issues/types.ts:18-22 (schema)TypeScript interface defining the input parameters for the getIssue handler: owner, repo, and issue_number.
export interface GetIssueParams { owner: string; repo: string; issue_number: number; }