create_session
Initiate a chat session for a knowledge base, configuring conversation rounds, query rewriting, and a fallback response for unanswered queries.
Instructions
Create a new chat session with conversation strategy for 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": {
"kb_id": "<kb_id>"
},
"name": "create_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kb_id | Yes | Knowledge base ID | |
| title | No | Session title (optional) | |
| max_rounds | No | Maximum conversation rounds | |
| description | No | Session description (optional) | |
| enable_rewrite | No | Enable query rewriting | |
| summary_model_id | No | Model ID for response summarization (optional) | |
| fallback_response | No | Fallback response when no answer found | Sorry, I cannot answer this question. |