Explain Error Diagnostic Context
explain_errorParse exception class and stack frames to connect the error with indexed symbols and documented bug patterns. Use when troubleshooting error messages to link stack frames with known bug fixes.
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": {
"namespace": "<namespace>",
"error": "<error>"
},
"name": "explain_error"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | Error message or exception string. | |
| stack | No | Optional stack trace string. | |
| namespace | Yes | Logical workspace namespace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| error_type | Yes | ||
| extracted_frames | Yes | ||
| relevant_symbols | Yes | ||
| matching_memories | Yes |