ocr_batch
Process multiple local images in a single batch OCR call, returning text results for each image in order. Reduces token usage by avoiding repeated API calls.
Instructions
批量 OCR 多张本地图片,一次调用返回所有结果。
节省 token 场景:需要 OCR 多张图片时,避免多次 MCP 调用的 往返开销,将多张图片合并为一次调用。
参数: file_paths: 图片的绝对本地路径列表 is_handwritten: 是否手写笔记,默认 False
返回: 按输入顺序返回每张图片的 OCR 结果,用分隔线区隔。
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": {
"file_paths": "<file_paths>"
},
"name": "ocr_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_paths | Yes | ||
| is_handwritten | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |