inspector_screenshot
Capture a screenshot of a Flutter app to debug and analyze widget trees, navigation, and layout issues directly through the Flutter Inspector MCP Server.
Instructions
RPC: Take a screenshot of the Flutter app (ext.flutter.inspector.screenshot). 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": "inspector_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Optional: Custom port number if not using default Flutter debug port 8181 |