code_from_screenshot
Extract code from a screenshot file using a vision model, enabling text-only AI to access and process clipboard images without manual saving.
Instructions
Extract code from a screenshot file.
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": {
"image_path": "<image_path>"
},
"name": "code_from_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes | Absolute path to the image file. |