debug_dump_layer_tree
Analyze and debug Flutter app layer trees by dumping their structure for detailed inspection. Connects to the default Flutter debug port (8181) or a custom port to identify layout issues.
Instructions
RPC: Dump the layer tree (ext.flutter.debugDumpLayerTree). Connects to the default Flutter debug port (8181) unless specified otherwise.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "debug_dump_layer_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Optional: Custom port number if not using default Flutter debug port 8181 |