comment_bug
Add a structured comment to a bug by ID, including root cause, fix approach, logic change, and impact. The server auto-formats these into a multi-line template.
Instructions
Add comment to one bug by ID. REQUIRES solutionModules {rootCause, fixApproach, logicChange, impact} — server auto-formats into 【根因】【修复思路】【改动逻辑】【影响范围】 multi-line template text. Plain comment without solutionModules is no longer accepted.
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": {
"id": "<id>"
},
"name": "comment_bug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Bug ID | |
| comment | No | IGNORED for writing — only solutionModules is accepted. Kept for backward compatibility only. | |
| solutionModules | No | REQUIRED — comment will REJECT without it. Structured solution. Server auto-formats into multi-line 【根因】【修复思路】【改动逻辑】【影响范围】 template text. At least one field must be non-empty. |