memory_get_recent
Retrieve recent conversation messages for a specified agent to support persona mining and reflection. Use this tool to access message history for context management and self-evolving persona updates.
Instructions
Get recent messages for persona mining/reflection.
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": "memory_get_recent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| max_messages | No |