memory_add
Store a new fact or observation in persistent memory and associate it with a specific agent for later recall.
Instructions
Store a new fact in GrayMatter memory.
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": {
"agent_id": "<agent_id>",
"text": "<text>"
},
"name": "memory_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The observation or fact to remember. | |
| agent_id | Yes | The agent to associate this memory with. |