ragflow_add_memory_message
Saves a user/agent exchange to specified memories and triggers background extraction, preserving conversation context for later retrieval.
Instructions
Save one user/agent exchange to memories; extraction runs in the background.
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": {
"memory_ids": "<memory_ids>",
"agent_id": "<agent_id>",
"session_id": "<session_id>",
"user_id": "<user_id>",
"user_input": "<user_input>",
"agent_response": "<agent_response>"
},
"name": "ragflow_add_memory_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ID of the user in the conversation (required with API keys) | |
| agent_id | Yes | ID of the agent the dialogue came from | |
| memory_ids | Yes | IDs of the memories to use | |
| session_id | Yes | ID of the conversation session | |
| user_input | Yes | What the user said | |
| agent_response | Yes | What the agent answered |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||