capture_window
Capture a window by its title, with optional scaling, to obtain frame data as JSON.
Instructions
Capture a specific window by title.
Args: window_title: Title of the window to capture scale: Scale factor for resizing (default: 0.5)
Returns: JSON string with captured frame data or error
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": {
"window_title": "<window_title>"
},
"name": "capture_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| window_title | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |