read_flet_source
Fetch the actual installed Flet source code with numbered lines, optionally extracting a specific symbol, to resolve conflicts when docs and training data disagree.
Instructions
Read the actual installed source of a flet module (numbered lines). This is the ground truth when docs and training data disagree.
Args: module: Dotted module or path relative to the flet package, e.g. 'controls/material/button.py', 'flet.controls.page', 'controls/types'. symbol: Optional class or function to extract instead of the whole file (e.g. 'Button', 'Page', 'Button.style' or 'app'). max_lines: Line cap when reading a whole file (default 400).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes | ||
| symbol | No | ||
| max_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |