code_review
Submit code for expert review by frontend, backend, or QA specialists to identify issues and improve quality.
Instructions
让专家审查代码
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": {
"code": "<code>",
"reviewer": "<reviewer>"
},
"name": "code_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 要审查的代码 | |
| reviewer | Yes | 审查者:专家类型:frontend(前端专家)、backend(后端专家)、qa(QA专家) | |
| context | No | 代码的背景信息(可选) |