memory_context_compose
Compose a complete memory injection block from a reusable head, a newly assembled tail, and the combined text so a bridge can retrieve the full context in one call.
Instructions
一次拿到完整注入块:head(可复用)+ tail(本轮新拼)+ 拼接结果 text。桥接通常只用这一个。
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": {
"sessionId": "<sessionId>"
},
"name": "memory_context_compose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | 本轮用户消息,拼在尾部末尾 | |
| force | No | ||
| recall | No | 外部召回片段(可为空) | |
| sessionId | Yes |