lifeos_add_memory
Store an agent-generated memory as a Markdown file in vault/memory, adding YAML frontmatter and timestamp, then auto-index it into pgvector for semantic search.
Instructions
Store an agent-generated memory entry under vault/memory/.
Restricted write operation:
Memory is always written physically into vault/memory/{filename}.md.
'category' is recorded as metadata only.
Canonical files (identity, goals, projects, career, health, learning) cannot be overwritten.
Injects YAML frontmatter with source: agent and timestamp.
Automatically indexes the new memory into pgvector.
Args: category: Semantic category metadata tag (e.g. 'work', 'preferences', 'decisions'). filename: Kebab-case filename ending with .md (e.g. '2026-10-02-backend-priority.md'). content: The Markdown text to record.
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": {
"category": "<category>",
"filename": "<filename>",
"content": "<content>"
},
"name": "lifeos_add_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| category | Yes | ||
| filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |