debug_disable_opacity_layers
Disable opacity layers in Flutter apps via a debugging RPC to simplify widget tree analysis and layout issue identification. Connects to the default debug port or a custom port if specified.
Instructions
RPC: Toggle opacity layers debugging (ext.flutter.debugDisableOpacityLayers). 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": {
"enabled": "<enabled>"
},
"name": "debug_disable_opacity_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | Whether to enable or disable opacity layers | |
| port | No | Optional: Custom port number if not using default Flutter debug port 8181 |