恢复任务
resume_jobResume interrupted OCR jobs by reusing cached page data and continuing from the last checkpoint, launching a separate worker process without blocking.
Instructions
检查任务是否疑似中断;确认中断后复用逐页缓存,从断点继续。恢复会启动独立 OCR 工作进程,立即返回,不阻塞 MCP。
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": {
"job_dir": "<job_dir>"
},
"name": "resume_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| force | No | ||
| job_dir | Yes | ||
| password | No | ||
| stalled_after_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||