desktop_diagnose
Translate an error message into why it happened and what to do next, using rule-based matching with millisecond returns and no LLM calls. Diagnose any error text manually.
Instructions
把一条报错文本翻译成"为什么 + 怎么办"。 任何工具返回错误时都会自动附带诊断;这个工具用于手动诊断任意一段报错。 规则匹配、毫秒级返回,不调 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": {
"error": "<error>"
},
"name": "desktop_diagnose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | 报错原文 | |
| output | No | 命令输出(可选) | |
| command | No | 导致它的命令(可选,用于判断能否自动修补) |