add_pr_comment
Add a general comment to a pull request or merge request on GitHub or GitLab. Specify the provider, repository, PR number, and comment content.
Instructions
Add a general comment to PR/MR
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>",
"comment": "<comment>"
},
"name": "add_pr_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Code hosting provider | |
| repo | Yes | Repository path | |
| pr_id | Yes | PR/MR number | |
| comment | Yes | Comment content | |
| host | No | GitLab host for self-hosted instances |