Connect to Flutter VM Service
connect_vmConnect to a running Flutter app's Dart VM Service via its URI to stream live logs, exceptions, frame timings, and network calls for debugging.
Instructions
Connect to a running Flutter app's Dart VM Service and start collecting runtime data (logs, exceptions, frames, network). Pass the ws:// or http:// URI printed by flutter run (line: 'A Dart VM Service ... is available at:'). NOT purely read-only: enables dart:io HTTP timeline logging on the app so network capture works, and adds the GC stream to the VM timeline recorder so garbage-collection pauses can be correlated with jank. Existing recorded streams are preserved, never replaced.
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": {
"uri": "<uri>"
},
"name": "connect_vm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | VM Service URI, e.g. http://127.0.0.1:52719/abcdef=/ or ws://... |