flutter_core_platform_override
Override the platform of a running Flutter app (Android, iOS, Fuchsia, etc.) or reset it via RPC to facilitate debugging and testing across different environments.
Instructions
RPC: Override the platform for the Flutter app
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": {
"platform": "<platform>"
},
"name": "flutter_core_platform_override"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Platform to override to (android, ios, fuchsia, linux, macOS, windows, or null to reset) | |
| port | No | Port number where the Flutter app is running (defaults to 8181) |