ragflow_get_chat_session
Retrieves a RAGFlow chat session and its messages using chat and session IDs, optionally returning the source chunks cited by each answer.
Instructions
Get a chat session with its messages.
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": {
"chat_id": "<chat_id>",
"session_id": "<session_id>"
},
"name": "ragflow_get_chat_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat assistant ID | |
| session_id | Yes | Session ID | |
| include_references | No | Also return the chunks each answer cited |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||