remember_batch tool ¶Stores up to MAX_BATCH_SIZE (default 200) memories in a single
call. The embedding provider is invoked once for the whole batch,
making this dramatically faster than calling remember 200
times.
itemsRequired array. Each item has the same shape as a remember
argument: text required, plus optional tags,
source_provider, importance, capture_mode,
session_id, dedup_policy, expires_at,
last_confirmed_at.
source_providerString. Optional default applied to items that don’t specify their own.
dedup_policyString. Optional default policy applied to items that don’t specify
their own. Default "ask".
{
"ok": true,
"results": [
{ "ok": true, "memory_id": 200, "message": "Ok" },
{ "ok": true, "memory_id": 201, "message": "Ok" },
{ "ok": false, "error": { "code": "SECRET_REJECTED", ... } }
],
"summary": {
"total": 3,
"succeeded": 2,
"failed": 1
}
}
Per-item failures do not fail the batch. Each item’s outcome
lands in its own slot in results.
Batch-level: INVALID_INPUT (e.g. items not an array,
or exceeds MAX_BATCH_SIZE), EMBEDDING_ERROR. Per-item
errors appear inside results.