aida_log_deviation
Log AI output deviations from user expectations to analyze root causes and improve code generation accuracy through pattern codification.
Instructions
当 AI 产出与用户预期不符时调用。记录偏差用于后续分析。当 rootCause 为 rule-missing 时,修复后如果属于项目级技术规范(非业务逻辑),应询问用户是否沉淀为规则。
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": {
"title": "<title>"
},
"name": "aida_log_deviation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | 偏差描述 | |
| rootCause | No | 根因分类 | |
| category | No | 偏差类别 |