lc_preview_set_ai_memory
Preview an AI memory entry before setting it via partial-merge hook. Validate content and configuration without committing changes.
Instructions
Preview setting one ai_memory entry through the partial-merge hook.
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": {
"oid": "<oid>",
"agent": "<agent>",
"memory_name": "<memory_name>",
"content": "<content>"
},
"name": "lc_preview_set_ai_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oid | Yes | ||
| agent | Yes | ||
| content | Yes | ||
| memory_name | Yes | ||
| partition_key | No | ||
| token_ttl_seconds | No |