store_memory
Persist a new memory for an agent, attaching optional metadata like type, summary, importance, and tags to support context-aware retrieval.
Instructions
Store a new memory in HCC.
Args: content: The memory text to store (required). user_id: Owner of the memory (e.g. "michael"). agent_id: Which agent this memory belongs to (e.g. "hanyan", "hermes", "openclaw-main"). Memories are scoped by agent_id — different agents don't see each other's memories unless explicitly queried across agents. type: Memory category, e.g. "general", "knowledge", "fact", "preference". summary: Optional short summary of the content. importance: Relevance score in [0, 1]. Defaults to 0.5. tags: Optional list of string tags. embedding: Deprecated, ignored. The server always computes its own embedding (ollama, server-side) so every memory lands in the same vector space — kept only so old callers that still pass one don't break.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| type | No | general | |
| content | Yes | ||
| summary | No | ||
| user_id | No | default | |
| agent_id | No | default | |
| embedding | No | ||
| importance | No |