ragflow_list_agent_sessions
Lists an agent's conversation sessions and messages, filtered by date, user, keywords, or session ID, so you can review and audit interactions.
Instructions
List an agent's conversation sessions with their 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": {
"agent_id": "<agent_id>"
},
"name": "ragflow_list_agent_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| desc | No | ||
| page | No | Page number, starting at 1 | |
| orderby | No | update_time | |
| to_date | No | Updated on or before this date, YYYY-MM-DD | |
| user_id | No | Only sessions of this end-user ID | |
| agent_id | Yes | Agent ID | |
| keywords | No | Match session names | |
| from_date | No | Updated on or after this date, YYYY-MM-DD | |
| page_size | No | Items per page | |
| session_id | No | Return only this session | |
| include_messages | No | Include each session's messages |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||