ds_job
Query an OCR scan job's status and results by job_id to check running, succeeded, failed, or interrupted states, including error details and output paths.
Instructions
任务查询工具:按 job_id 查一个扫描件任务的状态与结果;只读本地、不发请求。查询本身成功时 ok:true;任务成败看 data.status。status 为 running / succeeded / failed / interrupted;失败时 data.error 是 {status,code,message,next};message 可能来自上游或本地,已脱敏、超 8 KiB 截断。结果超长会给落盘路径;job_id 必填,就是 ds_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": {
"job_id": "<job_id>"
},
"name": "ds_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |