window_capture_ocr
Capture a background window's content without stealing focus, and extract text via OCR to read other applications while the user continues working.
Instructions
Capture a background window WITHOUT focusing it; with ocr=1 (default) returns its text directly — read other apps' content while the user works.
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": {
"hwnd": "<hwnd>"
},
"name": "window_capture_ocr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ocr | No | ||
| hwnd | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |