create_kb_from_urls
PREFERRED for adding many website pages to an agent KB. Pass up to 50 URLs; the Convocore KB router scrapes them (scrapeContent=true). Do NOT web-fetch/scrape_url then paste content into create_kb_doc — that is slow and duplicates work. mode=per_url (default): one KB doc per URL. mode=batch: one API call with urls[]. For a whole site prefer create_kb_doc sourceType=sitemap. Scraping is async — poll list_kb_docs/get_kb_doc for status.
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": {
"agentId": "<agentId>",
"urls": "<urls>"
},
"name": "create_kb_from_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | per_url (default) or batch (single source with all urls) | |
| name | No | batch: doc name. per_url: optional name prefix | |
| tags | No | ||
| urls | Yes | Page URLs to ingest via KB router (max 50) | |
| agentId | Yes | The agent ID | |
| metadata | No | ||
| refreshRate | No | Auto re-crawl (API: 3d | 7d | never). Default never. | |
| skipExisting | No | Skip URLs already on the agent KB (default true) | |
| scrapeContent | No | KB router scrape (default true) |