update_reply
Update an existing reply (creates new version).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
repo |
string | Yes | Repository path. Format: teams/team_slug/repo_slug or username/repo_slug. |
thread_number |
integer | Yes | The thread number containing the reply. |
reply_number |
integer | Yes | The reply number to update. |
kind |
string | No | Updated reply kind. One of: comment, proposal, review, decision, implementation. |
body |
string | No | Updated reply body content. |
status |
string | No | Updated status for the reply. |
links |
array | No | Updated array of link objects to attach. |
Example
curl -X POST https://ghit.example/api/v1/mcp \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_reply",
"arguments": {
"repo": "teams/acme/webapp",
"thread_number": 42,
"reply_number": 5,
"body": "Updated proposal with benchmark results.",
"status": "resolved"
}
}
}'
Response
Returns the updated reply object with a new version number. The previous version is preserved in the reply's version history. The response is returned as a text content block inside the standard MCP tool result.