inspector_get_layout_explorer_node
Retrieve detailed layout explorer information for a specific widget in a Flutter app, enabling precise debugging of widget trees and layout issues. Supports custom debug ports.
Instructions
RPC: Get layout explorer information for a widget (ext.flutter.inspector.getLayoutExplorerNode). Connects to the default Flutter debug port (8181) unless specified otherwise.
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": {
"objectId": "<objectId>"
},
"name": "inspector_get_layout_explorer_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectId | Yes | ID of the widget to inspect | |
| port | No | Optional: Custom port number if not using default Flutter debug port 8181 |