create_comment
Add comments to GitHub or GitLab issues and pull requests using Markdown formatting to provide feedback or updates.
Instructions
Add a comment to an issue or pull request
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": "<repo>",
"type": "<type>",
"number": "<number>",
"body": "<body>"
},
"name": "create_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier (GitLab: "group/project" or ID, GitHub: "owner/repo") | |
| type | Yes | Type of item to comment on | |
| number | Yes | Issue or PR number | |
| body | Yes | Comment content (Markdown supported) |