Find Error Root Cause Candidates
root_causeMatch stack trace frames and error messages against indexed symbols and high-salience architectural memories. Use when diagnosing runtime exceptions, crash logs, and failing tests to isolate bugs.
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>"
},
"name": "root_cause"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message or exception text. | |
| query | No | Diagnostic keywords. | |
| stack | No | Full stack trace string. | |
| namespace | Yes | Logical workspace namespace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| suspect_files | Yes | ||
| suspect_symbols | Yes | ||
| related_memories | Yes |