magento_find_implementors
Find all classes that implement a specified PHP interface across the codebase by scanning PHP files and di.xml configurations.
Instructions
Find all classes that implement a given PHP interface. Scans PHP files for implements keyword and di.xml for <preference> declarations. Use this to discover all concrete implementations of an interface across the codebase.
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": {
"interfaceName": "<interfaceName>"
},
"name": "magento_find_implementors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interfaceName | Yes | Full or short PHP interface name. Examples: "OrderRepositoryInterface", "Magento\Sales\Api\OrderRepositoryInterface", "ChildOrderValidatorInterface" |