ragchat_setup
Initialize a domain with a knowledge base by uploading markdown content. Each ## section becomes a searchable vector-embedded document. Run this before testing or serving chat queries.
Instructions
Initialize a domain with a knowledge base from markdown content. Each ## section becomes a searchable document with vector embeddings. This is the first step — run this before testing or serving.
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": {
"domain": "<domain>",
"content": "<content>",
"systemPrompt": "<systemPrompt>"
},
"name": "ragchat_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name (e.g. 'mysite.com' or 'acme') | |
| content | Yes | Markdown content with ## headers. Each section becomes a searchable document. Minimum 50 chars per section. | |
| systemPrompt | Yes | System prompt for the chat assistant (e.g. 'You are the Acme support agent. Answer questions about Acme products.') |