Memory Tool Context
memory.tool_contextRetrieve non-sensitive metadata on prior tool invocations for an entity (count, timestamps, last hash). Never returns ciphertext. Compliance: GDPR Art. 5, 15. Cost $0.01 per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Entity whose prior tool invocations should be summarised. | |
| tool_name | Yes | Tool name to look up, e.g. 'verify_biodiversity' or 'request_mrv_report'. | |
| owner_wallet | Yes | 0x-prefixed owner wallet. Only that owner's rows are counted. | |
| wallet_signature | Yes | EIP-191 signature over the tool-context message. |
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. | |
| payment | No | Settlement receipt after x402 or sandbox payment. | |
| entity_id | No | Queried entity. | |
| tool_name | No | Queried source_tool. | |
| queried_at | No | UTC timestamp of this query. | |
| metadata_only | No | Always true. | |
| last_verified_at | No | Newest matching created_at. | |
| first_verified_at | No | Oldest matching created_at. | |
| hash_chain_intact | No | Reserved; always true until anchors land. | |
| last_content_hash | No | SHA-256 of the last write's plaintext. | |
| prior_invocations | No | Matching memory writes. | |
| recommended_action | No | fresh_verification, delta_verification, or stale_verification. |