qt_record_gif
Records an animated GIF of a selected Qt window or widget for a set duration while the application keeps running.
Instructions
Record an animated GIF of a window or widget for duration seconds.
Identify the widget exactly like qt_screenshot (ref, or describe/window_title/ class_name/object_name; the active window if nothing is given). The app keeps running normally while recording; interact with it meanwhile via other tools or by hand. Works on Windows and Linux (frames come from Qt's own rendering, no screen capture needed). For longer or interleaved recordings use qt_record_start / qt_record_stop.
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": "qt_record_gif"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| ref | No | ||
| index | No | ||
| expand | No | auto | |
| describe | No | ||
| duration | No | ||
| instance | No | ||
| max_width | No | ||
| min_score | No | ||
| class_name | No | ||
| object_name | No | ||
| window_title | No | ||
| search_fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |