capture_widget
Capture a Qt widget by its objectName to get a PNG image. Use with a connected Qt application running the proxy agent.
Instructions
Capture a specific Qt widget by its objectName via the proxy agent.
Requires a Qt application that has called qt_mcp.agent.start_agent(window)
and is connected to this server's Unix domain socket.
Args:
widget_name: The widget's objectName. Use list_capturable_widgets
to discover valid names.
Returns the widget as a PNG image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| widget_name | Yes |