Skip to main content
Glama

qt_screenshot

Capture screenshots of PySide6 application windows or specific widgets for debugging and inspection purposes. Supports PNG/JPEG formats with size constraints.

Instructions

Take a screenshot of the entire window or a specific widget.

Args: ref: Widget ref from qt_snapshot (e.g., 'w5'). If omitted, captures active window. full_window: If True, captures the first visible top-level window. max_width: Max width before downscaling (default 1920). max_height: Max height before downscaling (default 1080). format: Image format - 'png' or 'jpeg' (default 'png'). quality: JPEG quality 1-100 (default 80, ignored for PNG). Returns a base64-encoded PNG image.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNo
full_windowNo
max_widthNo
max_heightNo
formatNopng
qualityNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/0xCarbon/qt-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server