ai_memory_extract
Agent memory extractor — Pull durable facts worth remembering (preferences, identity, goals, constraints, projects) out of a conversation for an AI assistant's long-term memory. Offline checks: each fact's supporting quote must appear in the text, temporary wording is marked, existing= memories (separated by ; or new lines) are matched as duplicate or update, and emails/phones are redacted while card and ID numbers are never marked for saving. Optional: subject= (default the user). Price: $0.006 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "ai_memory_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | e.g. User: I'm vegetarian and I run a bakery in Austin. Can you plan meals for this week? |