Train KB from Website
lyzr_kb_train_websiteCrawl and ingest website URLs into a knowledge base for retrieval-augmented generation. Provide a RAG ID and URL list to populate the knowledge base automatically.
Instructions
Crawl and ingest one or more URLs into 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>",
"urls": "<urls>"
},
"name": "lyzr_kb_train_website"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | URLs to crawl and ingest | |
| rag_id | Yes | Knowledge base id |