flutter_run
Start a Flutter development session with hot reload enabled to run and test mobile applications on target devices during development.
Instructions
Start a Flutter development session (hot reload enabled)
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": {
"cwd": "<cwd>"
},
"name": "flutter_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Working directory (Flutter project root) | |
| deviceId | No | Target device ID | |
| target | No | Target dart file (e.g., lib/main.dart) | |
| flavor | No | Build flavor | |
| debugPort | No | Debug port number |