get_signature
Retrieve public function and class signatures, docstrings, and line ranges from a Python file. Use after get_node() to understand file structure before reading specific symbols, reducing token usage.
Instructions
Get the skeleton of a Python file — all public function and class names, their signatures, docstrings, and line ranges. Call this after get_node() to understand file structure before deciding which symbol to read with get_code(). Much cheaper than reading the full file. Note: Python files only. For other languages, read the file directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Relative file path (e.g. 'src/services/generator.py') |