magento_find_plugin
Find Magento plugins that intercept class methods using before/after/around patterns. Locates plugin classes and di.xml declarations.
Instructions
Find Magento plugins (interceptors) that modify class behavior via before/after/around methods. Locates Plugin classes and di.xml interceptor declarations. See also: magento_find_class (target class details), magento_find_method (intercepted method), magento_find_config with configType=di.
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": "magento_find_plugin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetClass | No | Class being intercepted by plugins. Examples: "ProductRepository", "CartManagement", "CustomerRepository", "OrderRepository", "Topmenu" | |
| targetMethod | No | Specific method being intercepted. Examples: "save", "getList", "getById", "getHtml", "dispatch" |