ragflow_chat
Ask a RAGFlow chat assistant a question and receive an answer with cited source chunks; continue sessions or query the default model without retrieval.
Instructions
Ask a chat assistant a question and get its answer with the cited chunks.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ragflow_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| llm_id | No | Override the chat model | |
| chat_id | No | Chat assistant to ask; without it the tenant's default chat model answers with no retrieval | |
| messages | No | Conversation as [{role, content}], last one from the user | |
| question | No | The user's question (or pass messages instead) | |
| thinking | No | Turn model reasoning on or off where supported | |
| max_tokens | No | ||
| session_id | No | Continue this session; without it a new session is created | |
| temperature | No | ||
| store_history | No | false answers from messages without storing a session |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||