error_code_lookup
Look up embedded error codes by table and code to retrieve meanings, troubleshooting steps, and cited sources; list available tables or codes when inputs are omitted.
Instructions
查错误码释义表(外置知识库 knowledge/error_codes/*.json,每条带出处)。
table 留空列出所有可查的表;只给 table 列出该表全部码; table+code 给出该码的释义、排查方向与依据(出处)。 已收录:esp_idf(esp_err_t)/ at_common(AT 通用响应)/ cwjap / cme / modbus_exception / mqtt_rc。 查不到时明说未收录、不给释义——不要拿别的码去猜。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "error_code_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| table | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |