lookup_sdi_error
Look up any SDI error code to get its official description, category, and resolution hint from a local offline table.
Instructions
Look up an SDI error code and return its human-readable description.
Uses a local static table of official AdE error codes. No network call required.
Args: error_code: SDI error code string (e.g., "00001", "00002"). ctx: Optional MCP context for structured log emission.
Returns: A LookupResult with keys: code (str): The queried error code. description (str): Official Italian description. category (str): Error category (e.g., "STRUTTURA", "CONTENUTO"). resolution (str): Suggested resolution hint.
Raises: ValueError: If error_code is not found in the known error table.
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_code": "<error_code>"
},
"name": "lookup_sdi_error"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| category | Yes | ||
| resolution | Yes | ||
| description | Yes |