Skip to content

Bulk Contact Tools

The get_bulk_contact_memory and get_bulk_contact_messages tools let the assistant load data for many contacts at once instead of making per-contact calls. For a 50-contact batch, this replaces ~100 sequential tool calls with 2.

ToolPermissionsDirection
get_bulk_contact_memoryContact:Instance:View + ContactNote:Collection:ListRead-only
get_bulk_contact_messagesContact:Instance:View + Message:Collection:ListRead-only

Fetch memory notes for up to 50 contacts in one call.

{
"contact_ids": [
"550e8400-e29b-41d4-a716-446655440000",
"660e8400-e29b-41d4-a716-446655440001"
]
}
ParameterTypeRequiredLimit
contact_idsUUID[]YesMax 50
{
"results": [
{
"contact_id": "550e8400-...",
"has_memory": true,
"memory_note": "Prefers texts over calls. Discussed pricing on March 15.",
"updated_at": "2026-04-02 09:00 UTC"
},
{
"contact_id": "660e8400-...",
"has_memory": false,
"memory_note": null,
"updated_at": null
}
],
"total": 2
}

Fetch recent messages for up to 50 contacts in one call.

{
"contact_ids": [
"550e8400-e29b-41d4-a716-446655440000",
"660e8400-e29b-41d4-a716-446655440001"
]
}
ParameterTypeRequiredLimit
contact_idsUUID[]YesMax 50
{
"results": [
{
"contact_id": "550e8400-...",
"messages": [
{
"direction": "outbound",
"body": "Hi! Following up on our conversation...",
"sent_at": "2026-04-10 14:30 UTC"
}
]
}
],
"total": 2
}

Contact search and filter results now include two inline fields, reducing the need for follow-up tool calls:

FieldSourceTruncated to
memory_snippetContact memory note200 chars
last_message_previewMost recent message100 chars

These fields appear in results from search_contacts, get_contacts_by_filter, get_unanswered_contacts, and get_fresh_contacts. Both are permission-gated — memory_snippet requires ContactNote:Collection:List and last_message_preview requires Message:Collection:List.

ScenarioTool
Quick scan of contactsUse enriched list results (memory_snippet, last_message_preview)
Full memory for 1 contactget_contact_memory
Full memory for 5–50 contactsget_bulk_contact_memory
Full messages for 5–50 contactsget_bulk_contact_messages
Bulk operation (>5 items)Combine bulk tools with the Operation Scratchpad