flutter_run
Start a Flutter app and get a run ID to enable hot reload, hot restart, and log retrieval.
Instructions
Start a Flutter app. Returns a run_id for use with hot_reload, hot_restart, and logs tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Target device ID (e.g. 'chrome', 'macos', an emulator ID). Empty for default. | |
| is_debug | No | Run in debug mode (true) or release mode (false) | |
| extra_args | No | Additional flags to pass to flutter run (e.g. ['--flavor=dev', '--dart-define=KEY=VALUE']) | |
| dont_detach | No | If true, wait for the app to finish instead of returning immediately after start | |
| project_dir | Yes | Path to the Flutter project directory |