Comments on a GitHub issue or pull request
github_issue_commentsComments on a GitHub issue or pull request, paginated, with since.
The conversation on an issue or pull request, oldest first: author, body, author_association, reactions, dates. since keeps comments updated at or after a date.
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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>",
"number": "<number>"
},
"name": "github_issue_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-indexed page number (default 1). | |
| repo | Yes | Repository name. | |
| after | No | Cursor: the previous page’s `next_cursor` (instead of page). | |
| owner | Yes | Repository owner (user or organisation). | |
| since | No | Only comments updated at or after this date. | |
| number | Yes | Issue or pull request number. | |
| per_page | No | Items per page, 1-100 (default 30). |