inspect_flet_control
Retrieve the exact, current API of any Flet control from installed source: properties, types, defaults, events, and deprecations. Use before writing UI code to avoid outdated control definitions.
Instructions
Get the exact, current API of any Flet control straight from the installed source: every property with its type and default (inherited ones marked), events (on_*), deprecation warnings, the class hierarchy, and the full class source with per-property docstrings. ALWAYS use this before writing Flet UI code — control APIs in training data are often outdated.
Args: control_name: Public flet class name, e.g. 'Button', 'TextField', 'CupertinoSwitch', 'Page', 'View'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| control_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |