ragchat_serve
Launch a local HTTP chat server on localhost that handles POST /chat requests for a specified domain, enabling RAG-powered AI chat integration for your website.
Instructions
Start a local HTTP chat server for a domain. The server runs on localhost and handles POST /chat requests. Use ragchat_widget to get the embed code that connects to this server.
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>"
},
"name": "ragchat_serve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain to serve | |
| port | No | Port to listen on (default: 3456) |