baidu_qianfan_ocr
Extract text from images using optical character recognition. Supports optional prompts and handles contexts up to 32k tokens.
Instructions
[OCR] Qianfan-OCR 32k上下文通用OCR — $0.02/call (free: 5/5 today)
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>",
"prompt": "<prompt>"
},
"name": "baidu_qianfan_ocr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | 图片URL | |
| prompt | Yes | 识别指令(可选) |