Get DI Preferences List
get-di-preferencesRetrieve dependency injection preferences for Magento 2 to understand how classes are mapped and overridden across different application scopes.
Instructions
Get Magento 2 dependency injection preferences list using magerun2
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get-di-preferences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | The scope to get DI preferences for | global |