codebase_flow
Trace code execution flow forward from an entry point to reveal downstream calls, or return ranked auto-detected entry points when none is supplied.
Instructions
Trace the EXECUTION FLOW forward from an entry point — what does this code call into? With NO args, returns a ranked list of auto-detected entry points (orphans with outgoing calls, conventional names like main(), framework routes, tests). With an entrypoint argument, returns the call tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional file hint to disambiguate the symbol. | |
| depth | No | Maximum DFS depth (default 5, max 10). | |
| limit | No | Maximum candidates to list when the entrypoint is ambiguous. Omit to list all. | |
| entrypoint | No | Symbol name to trace from. Omit to list auto-detected entry points. | |
| projectPath | No | Absolute path to the project directory. |