review_file
review_fileGenerate structured prompts for LLM-based code review and scoring of individual files, analyzing content, style, and commit context.
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 |
|---|---|---|---|
| filePath | Yes | ||
| content | Yes | ||
| style | No | ||
| commitMessage | No |