Memory Query
memory.queryQuery owner memory entries by entity_type, category, tags, or time range. Returns ciphertext plus metadata - never plaintext. Requires wallet signature. Compliance: GDPR Art. 15, 20. Cost $0.01 per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size (1–200, default 50). | |
| since | No | ISO 8601 lower bound on created_at (inclusive). | |
| until | No | ISO 8601 upper bound on created_at (inclusive). | |
| offset | No | Page offset (0–10000, default 0). | |
| category | No | Optional memory category filter. | |
| tags_all | No | Return rows whose tags contain every item in this list. | |
| tags_any | No | Return rows whose tags overlap this list. | |
| entity_id | No | Optional exact entity identifier. | |
| entity_type | No | Optional entity type filter. | |
| owner_wallet | Yes | 0x-prefixed owner address. Signature must recover to this wallet. | |
| entity_id_prefix | No | Optional entity_id prefix (minimum 3 characters). | |
| wallet_signature | Yes | EIP-191 signature over the exact canonical filter set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | True when the tool completed without a validation error. | |
| tool | No | Tool name that produced this payload. | |
| count | No | Entries on this page. | |
| limit | No | Page size. | |
| total | No | Matching row count before pagination. | |
| offset | No | Page offset. | |
| entries | No | Ciphertext rows owned by the signer (never plaintext). | |
| filters | No | Validated filters that were applied. | |
| payment | No | Settlement receipt after x402 or sandbox payment. | |
| queried_at | No | UTC timestamp of the query. | |
| accessed_as | No | Always owner in Prompt 5. |