Cancel Ingest Job
Immutable Catalog + Curated Guide
This lossless descriptor comes from the active Portal catalog and is enhanced with reviewed examples.
- Contract tier:
agent_ready - Risk:
destructive - Catalog version:
qdrant-2026.07.12.2 - Descriptor hash:
8f5c64ac41b04347fce6501487a805aaf210dc72364058474b86f420c8d14b6c
Request cancellation for a running textbook ingest job.
Request Body
{
"jsonrpc": "2.0",
"id": "qdrant-qdrant-cancel-ingest-example",
"method": "tools/call",
"params": {
"name": "qdrant.qdrant-cancel-ingest",
"arguments": {
"job_id": "ingest_tb_01JQDRANTP8X3B4H"
}
}
}
Arguments Schema
{
"type": "object",
"title": "Qdrant Cancel Ingest input",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string",
"title": "Job Id",
"description": "Textbook ingest job id."
}
},
"description": "Validated input contract for the qdrant-cancel-ingest native Qdrant MCP tool."
}
Output Schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"data",
"meta"
],
"properties": {
"data": {
"type": "object",
"description": "Normalized result data for qdrant-cancel-ingest: stop a running textbook-ingest job.",
"additionalProperties": true
},
"meta": {
"type": "object",
"properties": {
"bytes_in": {
"type": "integer",
"description": "Approximate serialized input byte count."
},
"warnings": {
"type": "array",
"items": {
"type": "string"
},
"description": "Safe recovery warnings."
},
"bytes_out": {
"type": "integer",
"description": "Approximate serialized output byte count."
},
"elapsed_ms": {
"type": "integer",
"description": "Tool execution time in milliseconds."
},
"request_id": {
"type": "string",
"description": "Stable request trace identifier."
},
"server_version": {
"type": "string",
"description": "Deployed source revision when available."
},
"serialization_ms": {
"type": "integer",
"description": "Response serialization time in milliseconds."
},
"server_uptime_ms": {
"type": "integer",
"description": "Server process uptime in milliseconds."
},
"server_instance_id": {
"type": "string",
"description": "Ephemeral server-process identifier."
}
},
"description": "Secret-safe request, trace, size, timing, and warning metadata.",
"additionalProperties": true
}
},
"description": "Qdrant MCP normalized response envelope.",
"additionalProperties": false
}
Code Examples
- cURL
- Node.js
- Python
curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "qdrant-qdrant-cancel-ingest-example",
"method": "tools/call",
"params": {
"name": "qdrant.qdrant-cancel-ingest",
"arguments": {
"job_id": "ingest_tb_01JQDRANTP8X3B4H"
}
}
}'
const response = await fetch('https://portal.madpanda3d.com/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "qdrant-qdrant-cancel-ingest-example",
"method": "tools/call",
"params": {
"name": "qdrant.qdrant-cancel-ingest",
"arguments": {
"job_id": "ingest_tb_01JQDRANTP8X3B4H"
}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://portal.madpanda3d.com/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "qdrant-qdrant-cancel-ingest-example",
"method": "tools/call",
"params": {
"name": "qdrant.qdrant-cancel-ingest",
"arguments": {
"job_id": "ingest_tb_01JQDRANTP8X3B4H"
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 409 Already Terminal
{
"ok": true,
"job_id": "ingest_tb_01JQDRANTP8X3B4H",
"status": "cancel_requested"
}
{
"ok": false,
"error": {
"error_code": "job_not_cancellable",
"suggested_http_status": 409,
"stage": "cancel",
"message": "Job is already in terminal state completed"
}
}