Get Commit Comments
get_commit_commentsRetrieve paginated comments on a specific commit. Provide repository slug and commit hash, with optional page size and max pages to control results.
Instructions
List comments on a commit with pagination support.
Args: repo_slug: Repository slug commit: Commit hash workspace: Workspace name (optional, defaults to configured workspace) page_size: Items per page (default: 10) max_pages: Maximum pages to fetch (default: 1, max recommended: 10)
Returns: Paginated list of commit comments
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_slug": "<repo_slug>",
"commit": "<commit>"
},
"name": "get_commit_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | Yes | ||
| max_pages | No | ||
| page_size | No | ||
| repo_slug | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |