cancel_job
Cancel a job: its pending items will never run. Items already executed are unaffected. Cannot be undone. Irreversible for the pending items (executed ones stay); confirm with the user. To stop temporarily use pause_job.
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": "cancel_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job id, as returned by create_job or list_jobs. | |
| idempotency_key | No | Optional. A key you choose (a UUID is fine) that names this exact call. If you retry with the same key and the same arguments, the first call's result is returned and nothing is done twice on LinkedIn. Reusing a key with different arguments is refused. Keys expire after 24 hours. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| items | No | ||
| label | No | ||
| action | No | ||
| source | No | ||
| status | No | ||
| totals | No | ||
| window | No | ||
| resume_at | No | ||
| account_id | No | ||
| created_at | No | ||
| started_at | No | ||
| completed_at | No | ||
| next_item_at | No | ||
| pause_reason | No | quota_reached | account_disconnected | billing | manual |