Get GitHub Issue Details
get_github_issueRetrieve detailed information about a specific GitHub issue, auto-detecting the repository from git and optionally limiting body text or comments to reduce token usage.
Instructions
Get detailed information about a specific GitHub issue. IMPORTANT: Do NOT guess owner/repo values - leave them empty to auto-detect from the current git repository.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_github_issue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | LEAVE EMPTY to auto-detect from git | |
| owner | No | LEAVE EMPTY to auto-detect from git | |
| use_test_db | No | ||
| issue_number | No | ||
| truncate_body | No | Max characters for body text (0 = full body, default 800). Reduces token usage. | |
| include_comments | No | Include issue comments (default false). Each comment adds tokens. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Error code (e.g. VALIDATION_ERROR, INTERNAL_ERROR) | |
| repo | No | ||
| error | No | Human-readable error message | |
| issue | No | ||
| owner | No | ||
| details | No | Additional error context | |
| category | No | Error category (validation, query, connection, internal) | |
| comments | No | ||
| suggestion | No | Suggested fix for the error | |
| instruction | No | ||
| recoverable | No | Whether the error is recoverable | |
| commentCount | No | ||
| detectedRepo | No | ||
| detectedOwner | No | ||
| aggregated_errors | No | Details of individual errors in a multi-step operation | |
| requiresUserInput | No |