flutter_get_sample
Retrieve a complete compilable Flutter sample with notes from the verified corpus by providing its ID, enabling quick access to accurate reference code for building Flutter applications.
Instructions
Get a specific sample from the advanced corpus by id, with complete compilable code and notes.
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": {
"id": "<id>"
},
"name": "flutter_get_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Sample id from flutter_list_samples or flutter_find_sample (e.g., 'staggered-entrance-animation') |