Skip to main content
POST
/
mcp
/
tool
/
unified_memory_search
Unified Memory Search
curl --request POST \
  --url http://localhost:8080/mcp/tool/unified_memory_search \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "",
  "user_id": "",
  "session_id": "",
  "limit": 20,
  "property_filter": {}
}'
{
  "context_string": "<string>"
}

Body

application/json

Request body for a memory search.

query
string
default:""
required

The search query string.

user_id
string
default:""
required

The ID of the user associated with the search.

session_id
string
default:""
required

The unique session identifier.

limit
integer | null
default:20

The maximum number of episodes to return.

property_filter
object | null

A dictionary of key-value pairs to filter declarative memory search results.

Response

200 - application/json

Contextual information retrieved from unified memory.

The result of a memory search operation.

context_string
string
required

The final formatted string containing summarized context and episodes for the LLM.