list_issue_comments
Retrieve all comments from a GitHub issue using parameters like owner, repo, issue number, and optional filters such as date and pagination.
Instructions
List comments on an issue.
Args:
params: Parameters for listing comments including:
- owner: Repository owner (user or organization)
- repo: Repository name
- issue_number: Issue number
- since: Filter by date (optional)
- page: Page number (optional)
- per_page: Results per page (optional)
Returns:
List of comments from GitHub API
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"ListIssueCommentsParams": {
"description": "Parameters for listing comments on an issue.",
"properties": {
"issue_number": {
"description": "Issue number to list comments for",
"title": "Issue Number",
"type": "integer"
},
"owner": {
"description": "Repository owner (username or organization)",
"title": "Owner",
"type": "string"
},
"page": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Page number for pagination (1-based)",
"title": "Page"
},
"per_page": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Results per page (max 100)",
"title": "Per Page"
},
"repo": {
"description": "Repository name",
"title": "Repo",
"type": "string"
},
"since": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by date (ISO 8601 format with timezone: YYYY-MM-DDThh:mm:ssZ)",
"title": "Since"
}
},
"required": [
"owner",
"repo",
"issue_number"
],
"title": "ListIssueCommentsParams",
"type": "object"
}
},
"properties": {
"params": {
"$ref": "#/$defs/ListIssueCommentsParams"
}
},
"required": [
"params"
],
"title": "list_issue_commentsArguments",
"type": "object"
}