批量提取书库
batch_extract_libraryBatch extract text from PDF books in a directory using OCR, with background workers and dynamic resource allocation. Monitor progress and resume interrupted extractions.
Instructions
按目录批量提取PDF书籍,在后台调度独立OCR worker,立即返回。用 get_batch_status 查看书本完成数、页数进度和资源调度。并发数会结合CPU线程、系统内存和每个worker的实际占用动态调整;支持断点续传。
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": {
"root": "<root>"
},
"name": "batch_extract_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | book-fast | |
| root | Yes | ||
| resume | No | ||
| max_books | No | ||
| output_dir | No | ||
| max_workers | No | ||
| max_pages_per_book | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||