ocr_extract
Extract text from images or PDF files using OCR. Ideal for reading text from screenshots, documents, or code images.
Instructions
从图片或 PDF 中提取文字(OCR)。适合识别截图、文档、代码中的文本内容。
Args: image: 图片或 PDF 文件路径(本地绝对路径)或远程 URL prompt: OCR 提示词。默认提取并格式化所有文字内容
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | ||
| prompt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |