Распознать текст в PDF
ocr_pdfРаспознаёт текст в сканированном PDF (OCR). Добавляет невидимый текстовый слой. До 100 страниц за раз (больший файл сначала разделите split_pdf); цена — одна единица (как обычный запрос до 10 МБ) за каждые 10 страниц; цена единицы — get_balance (request_price). file_url: публичный URL PDF-файла. languages: список языков (например ["rus","eng"]). По умолчанию: русский + английский.
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_url": "<file_url>"
},
"name": "ocr_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_url | Yes | ||
| languages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||