batch_add_comments
Add multiple inline comments and an optional general comment to pull requests or merge requests on GitHub and GitLab.
Instructions
Batch add multiple inline comments and optionally a general comment
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": {
"provider": "<provider>",
"repo": "<repo>",
"pr_id": "<pr_id>",
"inline_comments": "<inline_comments>"
},
"name": "batch_add_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Code hosting provider | |
| repo | Yes | Repository path | |
| pr_id | Yes | PR/MR number | |
| inline_comments | Yes | List of inline comments to add | |
| pr_comment | No | Optional general PR/MR comment | |
| host | No | GitLab host for self-hosted instances |