get_function_context
Fetch function signature, parameters, callers, callees, dependencies, and docstring to understand code behavior and assess change impact.
Instructions
Get comprehensive context for a function: signature, parameters, callers, callees, dependencies, and docstring.
Supports 'ClassName.method_name' syntax (e.g., 'ToolExecutor.execute').
For two top-level functions sharing the same name in different
files (where ClassName.method doesn't apply), pass file_path
to pick one. If multiple matches remain, returns a disambiguation list.
Use this when you need to understand what a function does, who calls it, and what its blast radius is for modifications.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function_name | Yes | Name of the function to look up. | |
| detail | No | Level of detail: "signatures", "summary" (default), or "full". | summary |
| include_hints | No | If True, append navigation suggestions. | |
| file_path | No | Optional path filter to disambiguate same-named top-level functions in different files. Matched by substring against each candidate's filepath, so a partial path like ``"api/agents.py"`` is enough. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||