get_signature
Retrieve the skeleton of a Python file, including public function and class names, signatures, docstrings, and line ranges. Use it to understand file structure before reading specific code, reducing cost compared to full file reading.
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') |