Flutter Inspector MCP Server

by Arenukvern
Verified

inspector_set_selection_by_id

RPC: Set the selected widget by ID (ext.flutter.inspector.setSelectionById). Connects to the default Flutter debug port (8181) unless specified otherwise.

Input Schema

NameRequiredDescriptionDefault
portNoOptional: Custom port number if not using default Flutter debug port 8181
selectionIdYesID of the widget to select

Input Schema (JSON Schema)

{ "properties": { "port": { "description": "Optional: Custom port number if not using default Flutter debug port 8181", "type": "number" }, "selectionId": { "description": "ID of the widget to select", "type": "string" } }, "required": [ "selectionId" ], "type": "object" }