review_file
Constructs customizable prompts for single-file code review and scoring, enabling structured analysis with optional style selection.
Instructions
构建用于单文件审查与打分的 LLM 提示词(不直接调用 LLM)
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": {
"filePath": "<filePath>",
"content": "<content>"
},
"name": "review_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | 审查风格,可选 | |
| content | Yes | 文件内容 | |
| filePath | Yes | 文件路径 | |
| commitMessage | No | 可选的提交信息 |