memory_assemble_context
Retrieve high-salience memories and format them into a token-budgeted XML prompt block for direct agent context injection.
Instructions
Retrieve and format high-salience memories into a strict token-budgeted XML prompt block ready for direct agent context injection.
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": {
"query": "<query>"
},
"name": "memory_assemble_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | hybrid | |
| query | Yes | Search query to retrieve context for | |
| scope | No | Optional wing/room filter scope | |
| max_tokens | No | Maximum token budget for the assembled context | |
| include_shared | No | Whether to include shared fleet knowledge |