Cnki Job
cnki_jobResume or cancel a pending CNKI search or PDF download by job_id after user verification; use cancel to release the waiting window.
Instructions
Continue or cancel a CNKI search or PDF download by job_id.
When the user says “继续” after verification in the original window, call with the same job_id. Use action='cancel' to release the window. Each call waits up to 20 seconds. Verification expires after 4 minutes and completed results can be read again for 4 minutes. Restarting the server clears job IDs. If the ID has expired, restart the original call.
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": "cnki_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | resume | |
| job_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |