Mem0 Tools
Mem0 Add New Memory Records
通过 Aident Loadout 使用 Mem0 Tools 的 Mem0 Add New Memory Records。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 2/5API 密钥连接
服务提供商说明
Adds memory records from messages, optionally inferring structured content. Requires an agent, user, app, or run ID; processing defaults to asynchronous and can be requested synchronously.
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- If true, infers structured memories from messages; otherwise, stores messages directly.inferboolean
- Unique identifier for the application associated with this memory. At least one of agent_id, user_id, app_id, or run_id must be provided.app_idstring
- Optional unique identifier for the organization associated with this memory.org_idstring
- Unique identifier for the run associated with this memory. At least one of agent_id, user_id, app_id, or run_id must be provided.run_idstring
- Unique identifier for the user associated with this memory. At least one of agent_id, user_id, app_id, or run_id must be provided.user_idstring
- Unique identifier for the agent associated with this memory. At least one of agent_id, user_id, app_id, or run_id must be provided.agent_idstring
- Comma-separated keywords to exclude specific topics, aiding in filtering out irrelevant information.excludesstring
- Comma-separated keywords to include specific topics, aiding filtering and prioritization.includesstring
- List of message objects forming the memory's content. Each message should have 'role' (e.g., 'user' or 'assistant') and 'content' (text content). Alternative: You can also provide 'records' with 'text' field which will be automatically converted to messages format.messagesarray必填
- The name of the organization for this memory. Deprecated: use `org_id` instead.org_namestring
- Whether to process memories asynchronously (default: true). When true, returns event_id/status/message for tracking background processing. When false, processes synchronously and returns id/event/memory fields. Most clients use the default async mode.async_modeboolean
- Optional unique identifier for the project associated with this memory.project_idstring
可观察输出
- Data from the action executiondata必填
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulboolean必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。