Flutter Inspector MCP Server

by Arenukvern
Verified

inspector_get_parent_chain

RPC: Get the parent chain for a widget (ext.flutter.inspector.getParentChain). Connects to the default Flutter debug port (8181) unless specified otherwise.

Input Schema

NameRequiredDescriptionDefault
objectIdYesID of the widget to get parent chain for
portNoOptional: Custom port number if not using default Flutter debug port 8181

Input Schema (JSON Schema)

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