memory_search
Semantic search over YOUR memories (scoped to wallet; no other
wallet's memories are ever returned). Ranked by real cosine similarity
computed at query time (score). Call memory_prepare with operation
"search" and these same arguments first.
Access: this is the one metered endpoint. With a free-tier key
(MEMORY_API_KEY, if this server has one) it is free and rate-limited;
otherwise it returns http_status 402 with x402 payment instructions under
`payment_required` (0.001 USDC on Base). To pay: build and sign the x402
payment from `payment_required`, then call this tool AGAIN with the SAME
arguments (same timestamp/nonce/signature, which a 402 does not consume)
plus `payment_signature`.
By default only currently-active versions are searched; use `as_of` to
search memory as it stood at a past instant, or include_superseded=true
for every version.
Args:
wallet: Your agent's 0x wallet address.
q: What to look for, in natural language.
timestamp: From memory_prepare.
nonce: From memory_prepare (single use).
signature: Your wallet's signature over memory_prepare's message_to_sign.
limit: 1-50 results (default 10).
tags: Only memories having ALL of these tags.
created_after: ISO-8601 lower bound on creation time.
created_before: ISO-8601 upper bound on creation time.
as_of: ISO-8601 instant; search the versions valid at that moment.
include_superseded: Also search old, superseded versions.
payment_signature: x402 payment payload (base64) for the keyless path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | ||
| tags | No | ||
| as_of | No | ||
| limit | No | ||
| nonce | Yes | ||
| wallet | Yes | ||
| signature | Yes | ||
| timestamp | Yes | ||
| created_after | No | ||
| created_before | No | ||
| payment_signature | No | ||
| include_superseded | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||