Reply to Code Discussion
post_reply_to_code_discussionAdd a reply to an existing code discussion on a merge request by specifying the discussion channel ID and markdown text.
Instructions
Reply to an existing code discussion on a merge request.
The discussion_channel_id can be found in the timeline output of a merge request.
Args: project: Project key (for context only) review_id: MR number (for context only) discussion_channel_id: Channel ID of the code discussion to reply to text: Reply text (Markdown supported)
Returns: Confirmation message.
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": {
"project": "<project>",
"review_id": "<review_id>",
"discussion_channel_id": "<discussion_channel_id>",
"text": "<text>"
},
"name": "post_reply_to_code_discussion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| project | Yes | ||
| review_id | Yes | ||
| discussion_channel_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |