magento_find_event_flow
Trace an event's complete dispatch chain: find observers registered in events.xml and resolve their PHP classes for any Magento event.
Instructions
Trace complete event flow chain: find where an event is dispatched, list all observers registered in events.xml, and resolve observer PHP classes. Shows the full dispatch → observer → handler chain for any Magento event.
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": {
"eventName": "<eventName>"
},
"name": "magento_find_event_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eventName | Yes | Magento event name. Examples: "sales_order_place_after", "checkout_cart_add_product_complete", "catalog_product_save_after", "customer_login", "controller_action_predispatch" |