get_flow
Generates an indented Solidity execution call tree from one entry point, showing modifiers, internal/external calls, resolved dispatch, builtins, and unresolved calls with reasons.
Instructions
Show the full execution call tree for one entry point as an indented text tree: modifiers, internal/library/external calls (with the parent line that makes each call), inherited/virtual dispatch resolved through C3, builtins used (require, keccak256, ...), dependency calls not followed, and UNRESOLVED calls with the reason.
Args:
repo_path: Project root.
entry_point: "Contract.fn(type1,type2)", "Contract.fn", or bare "fn" if unique.
max_depth: Limit tree depth (root = 0). Omit for the full tree.
include_source: Inline each function's source (line-numbered) the first
time it appears. Great for reading a flow end-to-end in one call.
collapse_repeats: Print a function's subtree only once; later occurrences
say "(subtree already shown above)". Keeps output small.
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>",
"entry_point": "<entry_point>"
},
"name": "get_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_chars | No | ||
| max_depth | No | ||
| repo_path | Yes | ||
| entry_point | Yes | ||
| include_source | No | ||
| collapse_repeats | No |