code_from_screenshot
Turn a screenshot into code text. Provide the absolute file path to extract the code from the image.
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. |