CodeGraph: codegraph_callees
codegraph_calleesList every function, method, or class that a given symbol calls in your codebase, with optional file scoping and result limits for targeted dependency analysis.
Instructions
List functions that calls. For the full flow, use codegraph_explore.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Narrow to the definition in this file (path or suffix) when several same-named symbols exist | |
| limit | No | Maximum number of callees to return (default: 20) | |
| symbol | Yes | Name of the function, method, or class to find callees for | |
| projectPath | Yes | Absolute path to the project to query (or any directory inside it) — codegraph uses the nearest .codegraph/ index at or above that path. Omit to use this session's default project. Pass it to query a second codebase, or when the server root has no index of its own (e.g. a monorepo where only sub-projects are indexed, so there is no default project). |