Get RAG Document Content
lyzr_rag_get_doc_contentRetrieve the full content of a document from a knowledge base by specifying the RAG ID and exact source key, returning stored chunks with an optional limit.
Instructions
Get the full stored content (chunks) of a single document source in a knowledge base.
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": {
"rag_id": "<rag_id>",
"source": "<source>"
},
"name": "lyzr_rag_get_doc_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of chunks to return (default 200) | |
| rag_id | Yes | Knowledge base id | |
| source | Yes | Exact source key of the document |