Skip to main content
POST
/
mcp
/
tool
/
add_memory_episode
Add Memory Episode
curl --request POST \
  --url http://localhost:8080/mcp/tool/add_memory_episode \
  --header 'Content-Type: application/json' \
  --data '{
  "producer_id": "",
  "produced_for_id": "",
  "episode_content": "",
  "episode_type": "message",
  "user_id": "",
  "session_id": "",
  "group_id": "",
  "metadata": {}
}'
{
  "status": "success"
}

Body

application/json

Request body for adding a new episode to memory.

producer_id
string
default:""
required

The ID of the user or agent that created the episode.

produced_for_id
string
default:""
required

The ID of the intended recipient.

episode_content
string
default:""
required

The content of the episode (text string).

episode_type
string
default:message
required

The category of the episode (e.g., 'message', 'thought').

user_id
string
default:""
required

The ID of the user associated with the episode.

session_id
string
default:""
required

The unique session identifier.

group_id
string
default:""

The group identifier.

metadata
object | null

Optional dictionary for custom, user-defined metadata.

Response

200 - application/json

Episode added successfully.

Generic response indicating the status of an asynchronous operation.

status
string
required

The status of the operation (e.g., 'success', 'accepted', 'failure').

Example:

"success"