whoTriggers
Trace backwards from a target function to identify all entry points, such as controllers or public methods, that eventually invoke it. Use reverse BFS to answer which endpoints trigger a critical operation.
Instructions
Reverse trace: find all entry points (controllers/public methods) that eventually call a given function. Answers questions like "what endpoints write to the order table?" by reverse-BFS from a critical operation.
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": {
"functionName": "<functionName>"
},
"name": "whoTriggers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| functionName | Yes | Target function/method name (e.g. "insertOrder", "PayOrderMapper.insert") |