magento_error_parser
Parse Magento error messages and stack traces to identify root causes, source files, and suggested fixes.
Instructions
Parse a Magento error message or stack trace and map it to relevant source files and root causes. Understands common Magento error patterns: DI instantiation failures, missing class/interface, plugin sort conflicts, area code not set, undefined index in templates, and more. Provides actionable file paths and fix suggestions.
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": "<error>"
},
"name": "magento_error_parser"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | Full error message, exception message, or stack trace from Magento. Can include PHP fatal errors, uncaught exceptions, or log entries. |