get_memory
Retrieve stored session memories by topic, filtered by git branch, importance, or memory type to restore relevant context.
Instructions
Get memories by topic with branch awareness
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": {
"session_id": "<session_id>",
"topic": "<topic>"
},
"name": "get_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results (default: 20) | |
| topic | Yes | Topic to search for | |
| git_branch | No | Filter by git branch (optional) | |
| importance | No | Minimum importance level (optional) | |
| session_id | Yes | Session identifier | |
| memory_type | No | Filter by memory type (optional) |