get_error_doc
Fetch structured error documentation for any error code, including cause, fix, examples, and related errors. Resolve issues quickly with clear guidance.
Instructions
Fetch the structured error documentation for a given error code.
``what`` and ``why`` come from the in-memory registry
(``echolon.errors.ERROR_CATALOG``); the long-form sections (``fix``,
``example``, ``common_causes``, ``related``) come from the per-code
markdown at ``echolon/native/errors/codes/{code}.md``. The full
markdown body is also returned as ``long_form_markdown`` so an
agent can consume the prose verbatim if the parsed sections are
empty (parser-resilience fallback).
Args:
code: Error code like 'VAL-001' or 'IND-003'.
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": {
"code": "<code>"
},
"name": "get_error_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |