get_flet_example
Retrieve the full source of an official Flet example by ID, including pyproject.toml and Python files, with a character budget to keep large examples readable.
Instructions
Fetch the full source of an official Flet example app (from search_flet_examples): pyproject.toml plus its Python files, bundled with a character budget so huge examples page gracefully.
Args: example_id: Example id from search_flet_examples (e.g., 'counter' or '7guis/flight_booker'). max_chars: Total character budget for the returned source (default 24000).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"example_id": "<example_id>"
},
"name": "get_flet_example"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_chars | No | ||
| example_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |