nmem_auto
Extract and save memories from text automatically. Use process to analyze and persist them at session end, or flush for emergency capture before compaction.
Instructions
Auto-extract memories from text. 'process'=analyze+save, 'flush'=emergency capture before compaction. Use at session end or when processing large text blocks.
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": {
"action": "<action>"
},
"name": "nmem_auto"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Force save even if auto-capture disabled (for 'analyze') | |
| text | No | Text to analyze (required for 'analyze' and 'process') | |
| action | Yes | Action: 'process' analyzes and saves, 'analyze' only detects, 'flush' emergency capture before compaction (skips dedup, lower threshold) | |
| compact | No | Return compact response (strip metadata hints, truncate lists). Saves 60-80% tokens. | |
| token_budget | No | Max tokens for response. Progressively strips content to fit budget. |