error_fix_suggestion
Analyzes error summaries and context files to return up to three minimal fix suggestions, without automatically modifying code.
Instructions
基于 errorSummary 和 contextFiles 返回最多 3 个最小修复建议;不自动改码。
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": {
"errorSummary": "<errorSummary>"
},
"name": "error_fix_suggestion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| contextFiles | No | ||
| errorSummary | Yes | 错误摘要,可为字符串或对象 | |
| maxSuggestions | No | 返回建议的最大数量(默认 3) |