Commencer maintenant
Mem0 Tools

Mem0 Add New Memory Records

Utilisez Mem0 Add New Memory Records avec Mem0 Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion par clé API

Description du fournisseur

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.

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • inferboolean
    If true, infers structured memories from messages; otherwise, stores messages directly.
  • app_idstring
    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.
  • org_idstring
    Optional unique identifier for the organization associated with this memory.
  • run_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.
  • user_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.
  • agent_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.
  • excludesstring
    Comma-separated keywords to exclude specific topics, aiding in filtering out irrelevant information.
  • includesstring
    Comma-separated keywords to include specific topics, aiding filtering and prioritization.
  • messagesarray
    Obligatoire
    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.
  • org_namestring
    The name of the organization for this memory. Deprecated: use `org_id` instead.
  • async_modeboolean
    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.
  • project_idstring
    Optional unique identifier for the project associated with this memory.

Sortie observable

  • data
    Obligatoire
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Obligatoire
    Whether or not the action execution was successful or not

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur