Paddle Ocr
paddle_ocrExtract text from images, screenshots, and scanned documents by providing a local path or URL. Returns recognized text lines with confidence scores.
Instructions
识别图片中的文字(中英文)。传入图片本地路径或 URL,返回识别到的文本行及置信度(JSON 数组)。
示例: paddle_ocr("/Users/xx/screenshot.png") paddle_ocr("https://example.com/scan.jpg")
返回格式:[{"text": "识别到的文本", "confidence": 0.99}, ...]
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": "<image>"
},
"name": "paddle_ocr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |