Ingest a document
ingest_docIngest documents by URL or raw text, chunk and embed them, then upsert into a vector database for semantic search. Re-ingesting identical content is idempotent.
Instructions
Chunk → embed → upsert a document into pgvector. Provide either a URL to fetch or raw text. Re-ingesting identical content is idempotent.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ingest_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to fetch and ingest | |
| text | No | Raw document text to ingest | |
| source | No | Source slug (e.g. zerodha) | |
| title | No | Document title |