extract_text_from_screenshot
Extract text from screenshots preserving original structure. Supports terminals, code, documents, and general content.
Instructions
Extract text from screenshots. Optimized for terminals, code editors, documents, and general content. Returns extracted text preserving original structure.
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": {
"imageUrl": "<imageUrl>"
},
"name": "extract_text_from_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imageUrl | Yes | Image source: a data URI (data:image/...;base64,...), an http(s) URL, or a local file path | |
| context | No | Content type: 'terminal' (CLI output), 'code' (source code), 'doc' (document), 'all' (auto-detect) | all |