add_knowledge
Import a document (plain text or HTML) to make its content searchable as business knowledge. It chunks and embeds the text for semantic retrieval.
Instructions
Import a document you provide (plain text or HTML) as searchable business knowledge.
Use when you already have the content; to fetch it from a web page instead, use add_knowledge_url. The content is chunked and embedded for semantic retrieval during grounding. Returns the document id and chunk count.
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": {
"connection": "<connection>",
"title": "<title>",
"content": "<content>"
},
"name": "add_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | Yes | Target database connection — its name or id (case-insensitive). List the available connections with list_connections. | |
| title | Yes | Title for the knowledge document. | |
| content | Yes | Document body as plain text or HTML; it is chunked and indexed for search. | |
| source_url | No | Optional source URL to record as provenance. |