find_paths_to
Identify which Solidity entry points can reach a target function and show the call chains connecting them.
Instructions
Reverse reachability: which entry points can reach a given function (or dependency call), and through which call chain. E.g. "who can reach _mint?", "which external functions end up in Pool.swap?".
Args:
repo_path: Project root.
target: Function as "Contract.fn(types)", "Contract.fn" or bare "fn".
Bare names match every contract's function with that name.
include_read_only: Also search view/pure entry points.
max_chars: Output size cap.
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": {
"repo_path": "<repo_path>",
"target": "<target>"
},
"name": "find_paths_to"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| max_chars | No | ||
| repo_path | Yes | ||
| include_read_only | No |