magento_find_di_wiring
Retrieve the full dependency injection configuration for a PHP class, including preferences, plugins, constructor arguments, and overrides from di.xml across all modules.
Instructions
Get the complete DI wiring picture for a PHP class: preferences (interface→implementation), plugins (interceptors), constructor arguments from di.xml, virtual types, and argument overrides. Also extracts the PHP constructor signature. Use this to understand how a class is configured and extended across all modules.
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": {
"className": "<className>"
},
"name": "magento_find_di_wiring"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| className | Yes | Full or short PHP class/interface name. Examples: "ChildOrderValidatorChain", "Magento\SalesRule\Model\Rule", "CartManagementInterface" |