Skip to main content

Ingest Textbook (Async)

Catalog + Curated

This page is generated from the full broker catalog and enhanced with curated examples.

POSTqdrant.qdrant-ingest-textbook

Submit a source_url textbook ingestion job and return immediately with job_id.

Request Body

{
"jsonrpc": "2.0",
"id": "qdrant-qdrant-ingest-textbook-example",
"method": "tools/call",
"params": {
"name": "qdrant.qdrant-ingest-textbook",
"arguments": {
"collection_name": "school",
"source_url": "https://files.example.com/com120-textbook.pdf",
"metadata": {
"class": "COM120",
"material_type": "textbook",
"title": "Interpersonal Communication: Everyday Encounters",
"author": "Julia T. Wood",
"edition": "9th",
"isbn": "9781337555889",
"publisher": "Cengage"
}
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"collection_name",
"source_url",
"metadata"
],
"properties": {
"collection_name": {
"type": "string"
},
"source_url": {
"type": "string"
},
"metadata": {
"type": "object",
"required": [
"class",
"material_type",
"title",
"author",
"edition",
"isbn"
],
"properties": {
"class": {
"type": "string"
},
"material_type": {
"type": "string"
},
"title": {
"type": "string"
},
"author": {
"type": "string"
},
"edition": {
"type": "string"
},
"isbn": {
"type": "string"
},
"publisher": {
"type": "string"
}
},
"additionalProperties": true
},
"chunk_size": {
"type": "number",
"minimum": 100
},
"chunk_overlap": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "qdrant-qdrant-ingest-textbook-example",
"method": "tools/call",
"params": {
"name": "qdrant.qdrant-ingest-textbook",
"arguments": {
"collection_name": "school",
"source_url": "https://files.example.com/com120-textbook.pdf",
"metadata": {
"class": "COM120",
"material_type": "textbook",
"title": "Interpersonal Communication: Everyday Encounters",
"author": "Julia T. Wood",
"edition": "9th",
"isbn": "9781337555889",
"publisher": "Cengage"
}
}
}
}'

Example Responses

{
"ok": true,
"status": "accepted",
"job_id": "ingest_tb_01JQDRANTP8X3B4H",
"collection": "school"
}