List Issue Comments Tool
list_issue_comments_toolList the comments on a GitHub issue or pull request conversation, oldest first.
Instructions
List the comments on a GitHub issue or pull request conversation, oldest first.
Works for plain issues, which list_pull_request_comments_tool does not. On a pull request it returns only the conversation comments; diff comments and reviews come from list_pull_request_comments_tool.
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": {
"repo": "<repo>",
"issue_number": "<issue_number>"
},
"name": "list_issue_comments_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1) | |
| repo | Yes | Repository name | |
| owner | No | Repository owner (defaults to GITHUB_DEFAULT_ORG if unset) | |
| per_page | No | Results per page, max 100 (default: 30) | |
| issue_number | Yes | Issue or pull request number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||