search_and_inject_memory
Retrieve relevant memories from semantic storage and inject them into the context at session start or after compaction, guided by task description and session details.
Instructions
새 세션/compaction 직후 컨텍스트 상단 주입 블록을 반환합니다.
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": {
"task_description": "<task_description>",
"project_id": "<project_id>",
"session_id": "<session_id>"
},
"name": "search_and_inject_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_description | Yes | ||
| project_id | Yes | ||
| session_id | Yes | ||
| top_k | No | ||
| max_inject_tokens | No | ||
| fill_from_project | No | ||
| include_recent_compaction_in_query | No | ||
| injection_mode | No | manual |