cancel_import_job
Cancel a queued/running import. Owner/admin only. A terminal job (succeeded/failed/partial) → 409 conflict; a queued/running job is landed in 'failed' and its transient token dropped so an unclaimed job never runs (cancelling an already-running job is best-effort). 404 if the job belongs to another org. Mirrors POST /v1/orgs/{org_id}/import-jobs/{id}:cancel.
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": {
"org_id": "<org_id>",
"job_id": "<job_id>"
},
"name": "cancel_import_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| org_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||