Kaption WhatsApp
v0.5.11Read and manage your WhatsApp conversations through the KaptionAI browser extension.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
query
Query WhatsApp data: conversations, contacts, messages, transcriptions, labels, and communities. Supports listing, searching, filtering, and looking up by ID. IMPORTANT: Multiple WhatsApp accounts may be connected (e.g. personal + business). Always query entity="session" FIRST to see all connected accounts and their session IDs. Then use target_session to route queries to the correct account. Each account has different conversations, contacts, and messages. HOW TO READ MESSAGES: To get messages from a specific conversation, pass its id (e.g. "5491157390064@c.us"). This returns the conver…
| Parameter | Type | Description |
|---|---|---|
after | string | Return messages after this ISO 8601 datetime (e.g. "2026-03-01T12:00:00.000Z") for incremental sync |
before | string | Return messages before this ISO 8601 datetime (e.g. "2026-03-01T12:00:00.000Z") for cursor-based pagination backward |
community | string | Filter conversations by community name or ID |
entity | string | Entity type to query. Defaults to "conversations" when listing, or all when searching. Use "session" to list all connected WhatsApp accounts. |
exclude_archived | boolean | Exclude archived conversations from listings (default true) |
exclude_muted | boolean | Exclude muted conversations from listings (default false) |
group | string | Filter contacts by group ID — only return contacts that are members of this group |
id | string | Look up a specific conversation, contact, or label by ID |
include_participants | boolean | Include group participants in results. Useful when looking up a contact by ID to see which groups they belong to, or when querying a group to see its members. |
label | string | Filter conversations by label name or ID (Business accounts) |
limit | number | Max results (default 25, max 5000) |
list | string | Filter conversations by list name or ID (Personal accounts) |
query | string | Text to search for (names, messages, transcriptions) |
target_session | string | Session ID to target a specific WhatsApp account. Get session IDs from entity="session". If omitted, routes to the most recently active account. |
unread | boolean | Only return conversations with unread messages |
summarize_conversation
Get or generate a summary of a conversation
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | The conversation ID |
message_count | number | Number of messages to use for summary generation (default 50, max 500) |
target_session | string | Session ID to target a specific WhatsApp account |
manage_labels
Manage WhatsApp Business labels. Requires a WhatsApp Business account. Actions: add - Add a label to a conversation (requires label_name/label_id + conversation_id) remove - Remove a label from a conversation (requires label_name/label_id + conversation_id) create - Create a new label (requires label_name) delete - Delete a label (requires label_name or label_id)
| Parameter | Type | Description |
|---|---|---|
action * | string | Label action to perform |
conversation_id | Conversation ID or array of IDs (required for add/remove) | |
label_id | string | Label ID (alternative to label_name for add/remove/delete) |
label_name | string | Label name (for add/remove/create/delete) |
manage_notes
Manage contact notes. Requires a WhatsApp Business account with notes enabled. Actions: get - Read the note for a contact set - Write/update the note for a contact
| Parameter | Type | Description |
|---|---|---|
action * | string | Note action to perform |
contact_id * | string | The contact ID |
note | string | Note text (required for "set" action) |
download_media
Download media content (image, video, audio, document, sticker) from a WhatsApp message. Returns base64-encoded media data with metadata. Get message_id from query results. The message must be a media message. Examples: Download an image: { message_id: "true_123@c.us_3EB0...", conversation_id: "123@c.us" }
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | The conversation ID containing the message |
message_id * | string | The message ID (from query results) |
target_session | string | Session ID for multi-account routing |
manage_chat
Manage chat state: archive, unarchive, mark as read/unread, pin, unpin, mute, unmute, set/clear draft. Actions: archive - Archive a conversation unarchive - Unarchive a conversation mark_read - Mark a conversation as read mark_unread - Mark a conversation as unread pin - Pin a conversation (max 3 pinned) unpin - Unpin a conversation mute - Mute notifications (use mute_duration for duration) unmute - Unmute notifications set_draft - Set a draft message in the compose box (requires text) clear_draft - Clear the draft message
| Parameter | Type | Description |
|---|---|---|
action * | string | Chat action to perform |
conversation_id * | string | The conversation ID |
mute_duration | string | Mute duration (only for "mute" action). Default: "forever" |
target_session | string | Session ID for multi-account routing |
text | string | Draft text (required for "set_draft" action) |
manage_reminders
Manage personal reminders. Reminders are stored in the cloud and trigger notifications via the Kaption extension. Actions: list - List all reminders get - Get a specific reminder by ID create - Create a new reminder (requires title + datetime) update - Update a reminder (requires id, optional title/datetime) delete - Delete a reminder (requires id) complete - Mark a reminder as completed (requires id) uncomplete - Mark a reminder as not completed (requires id) Examples: List all: { action: "list" } Create: { action: "create", title: "Follow up wit…
| Parameter | Type | Description |
|---|---|---|
action * | string | Reminder action to perform |
datetime | string | ISO 8601 datetime for the reminder (required for create, optional for update) |
filter | string | Filter for list action. Default: "active" (non-completed only) |
id | string | Reminder ID (required for get/update/delete/complete/uncomplete) |
notification_type | string | How to notify. Default: "automatic" |
target_session | string | Session ID for multi-account routing |
title | string | Reminder text (required for create, optional for update) |
create_attachment_upload
Create a one-time attachment upload slot, authorized by your connected Kaption account and owner-only MCP_LOCAL_SEND. Returns uploadUrl, attachmentRef and expiresAt. PUT the raw file bytes to uploadUrl within 15 minutes (e.g. curl -T file.pdf), then pass attachment: {ref: attachmentRef} to send_message or a local schedule create/update within one hour. The extension consumes the ref once and stores the bytes locally. No third-party URLs. Requires a connected Rust extension; target_session selects the account.
| Parameter | Type | Description |
|---|---|---|
mime * | string | Allowed image, document, audio or video MIME type |
name * | string | Filename without paths or control characters, max 200 characters |
size * | integer | Exact file size in bytes, maximum 8 MiB |
target_session | string | Session ID of the Kaption account that will send the attachment |
send_message
Queue a WhatsApp message from this computer for the earliest permitted delivery. Requires the owner-only MCP_LOCAL_SEND flag, Rust core, and user consent in Kaption. Supports an existing person chat or eligible group (@g.us) and one image, document, audio or video attachment (8 MiB max). Message is optional with an attachment; audio cannot have captions. Returns queued plus a schedule ID, not proof of delivery. Existing ask-first prompts, 8/hour, 20/day, group limits and delays apply. An assistant cannot accept consent or confirmation. Computer and WhatsApp must remain open. Use manage_schedul…
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | Existing person chat ID or eligible group ID ending @g.us |
attachment | Exactly one attachment source: dataB64, uploaded ref, or absolute local path; max 8 MiB. Requires MCP_LOCAL_SEND and local delivery | |
message | string | Message or attachment caption; omit for attachment-only sends |
target_session | string | Session ID for multi-account routing |
manage_scheduled_messages
Schedule WhatsApp messages to be sent automatically at a specific time, in one of two modes: bot (default) - sent from Kaption's WhatsApp number, not the user's own. Stored in Kaption's cloud and sent even when this computer is off. One-to-one chats only (no groups); one line, max 800 characters. local ("From this computer") - sent from the user's own WhatsApp number, as them, while this computer and WhatsApp are open. Stays on this device. Kaption keeps it within safe limits automatically (a few messages an hour and a day, minutes apart, only to chats where the other person has written, a…
| Parameter | Type | Description |
|---|---|---|
action * | string | Scheduled message action to perform (cancel, remove and send_now need mode "local") |
attachment | Local create/update only. One attachment; null removes it on update. Omit message for attachment-only sends | |
conversation_id | string | Chat to send the message to (required for create): a person, or a group with mode "local" |
datetime | string | ISO 8601 datetime when the message should be sent (required for create, optional for update) |
filter | string | Filter for list action. Default: "pending" (not sent yet; in local mode also missed or failed ones waiting for the user) |
id | string | Scheduled message ID (required for get/update/delete/cancel/remove/send_now) |
message | string | Message text to send (required for create, optional for update). Bot: one line, max 800 characters. Local: text or caption up to 2000 characters; omit with an attachment |
mode | string | "bot" (default): sent from Kaption's WhatsApp number. "local": sent from the user's own WhatsApp number while this computer and WhatsApp are open, within safe limits kept automatically; needed for gro… |
notification_type | string | Bot mode only. Notification type. Default: "automatic" |
target_session | string | Session ID for multi-account routing |
manage_lists
Manage personal chat lists (custom lists). These are the personal account equivalent of Business labels. Lists allow organizing chats into custom categories like "Family", "Work", etc. Not available on all accounts — check with action "list" first to see if lists are enabled. Actions: list - List all custom lists (also shows if feature is enabled) get - Get a list and its associated chats (requires id or name) create - Create a new list (requires name, optional conversation_id for initial chats) edit - Edit a list name or replace its chats (requires id or…
| Parameter | Type | Description |
|---|---|---|
action * | string | List action to perform |
conversation_id | Chat ID or array of IDs to add/remove | |
id | string | List ID (for get/edit/delete/add_chat/remove_chat) |
name | string | List name (for create/edit, or to resolve by name) |
target_session | string | Session ID for multi-account routing |
list_contacts
List WhatsApp contacts from the encrypted DBR3 cache (no network). Results are deduplicated by phone number — the same person across multiple labels collapses to one row. Saved contacts sort before unsaved, then alphabetically by display name. WhatsApp "@lid" privacy identifiers (opaque, non-dialable) are always excluded — only real phone-backed contacts are returned. Examples: All contacts: {} Saved contacts only: { is_my_contact: true } Search by name: { query: "Maria" } Page 2 of 50: { limit: 50, offset: 50 }
| Parameter | Type | Description |
|---|---|---|
is_my_contact | boolean | If true, only contacts saved in the user address book. If false, only un-saved contacts. Omit to include both. |
limit | number | Max contacts to return (default 50, max 500) |
offset | number | Skip N contacts for pagination (default 0) |
query | string | Case-insensitive substring matched against name, pushname, phone, and JID |
get_contact
Look up a single WhatsApp contact by JID or phone number. Pass either parameter — both work. If multiple raw contacts share the same phone (label dupes), the saved variant wins. Examples: By JID: { jid: "5491155550001@c.us" } By phone with +: { phone: "+5491155550001" } By phone bare: { phone: "5491155550001" }
| Parameter | Type | Description |
|---|---|---|
jid | string | Full WhatsApp JID (e.g. "5491155550001@c.us") |
phone | string | Phone number — leading "+" and "00" are stripped during matching |
get_contact_groups
List the WhatsApp groups a specific contact participates in. Reads from cached chat metadata — no network. Examples: Groups for contact: { jid: "5491155550001@c.us" }
| Parameter | Type | Description |
|---|---|---|
jid * | string | Contact JID — must be the full @c.us form (phone alone not accepted here) |
list_groups
List all WhatsApp groups the user belongs to. Reads from the cache — no network. For a live snapshot of a single group, use `get_group` (it forces a fresh GroupMetadata.update). Examples: All groups: {} Search by group name: { query: "family" } Top 10: { limit: 10 }
| Parameter | Type | Description |
|---|---|---|
limit | number | Max groups to return (default 50, max 500) |
query | string | Case-insensitive substring match against group name |
get_group
Fetch a single group with a LIVE participant list. Forces `Store.GroupMetadata.update()` against the WA backend before reading, so the result reflects current membership including recent joins/leaves. Use this when accuracy matters; use `list_groups` for browsing. Examples: Live group fetch: { jid: "120363421729019499@g.us" }
| Parameter | Type | Description |
|---|---|---|
jid * | string | Group JID — must end in "@g.us" |
export_contacts
Export all WhatsApp contacts as CSV (RFC 4180) or JSON. Deduped, sorted alphabetically by display name. Default format is CSV. JSON projects the requested fields. Available fields: jid, phone, name, pushname, is_my_contact, is_business. WhatsApp "@lid" privacy identifiers (opaque, non-dialable) are always excluded — only real phone-backed contacts are returned. Examples: CSV all fields: { format: "csv" } JSON name + phone: { format: "json", fields: ["name", "phone"] } Filtered CSV: { format: "csv", query: "Argentina" } Saved contacts only: { format: "csv", is_my_contact: true }
| Parameter | Type | Description |
|---|---|---|
fields | array | Whitelist of fields to include. Defaults to all six: jid, phone, name, pushname, is_my_contact, is_business |
format | string | Output format. Default "csv" |
is_my_contact | boolean | If true, only contacts saved in the user address book. If false, only un-saved. Omit to include both. |
query | string | Optional case-insensitive substring filter (matches name, pushname, phone, JID) |
get_api_info
Get HTTP REST API connection info for programmatic access without MCP overhead. Returns URL, auth token, and available endpoints.
get_analytics
Get WhatsApp analytics data: KPIs, activity patterns, rankings, response times, call stats, labels, emojis, words, countries, and more. Supports section-based drill-down, date range filtering, chat/label/community filters, pagination, and chat/contact exports. Start with section="overview" (default) for a compact summary, then drill into specific sections. Sections: overview — High-level summary with top 5 chats (~5KB) kpis — Core + account KPIs + account overview activity — Daily/hourly/weekday/monthly + sent/received + message types…
| Parameter | Type | Description |
|---|---|---|
chat_id | string | Filter to specific chat. Required for chat_detail/export_chat |
chat_type | string | Filter rankings by chat type |
community | string | Filter by community name or ID |
date_from | string | Custom start date (ISO 8601) — overrides date_range |
date_range | string | Preset date range (default: "30d") |
date_to | string | Custom end date (ISO 8601) — overrides date_range |
format | string | Export format (required for export_chat/export_contacts) |
include_transcriptions | boolean | Include audio transcriptions in exports (default true) |
label | string | Filter by label/list name or ID |
limit | number | Max items for paginated sections (default 20, max 500) |
offset | number | Skip N items for pagination |
query | string | Search keyword — filter analytics to only messages containing this text. Shows activity patterns for conversations mentioning a topic. |
section | string | Analytics section to retrieve |
target_session | string | Session ID for multi-account routing |
call_recordings
Read WhatsApp call recordings made by the Kaption extension and their transcripts, with every word timed. Each recording names its conversation (the other person, or the group for a group call), so it links to query, get_contact and get_group. Recordings of locked chats are never returned. Actions: list - Recordings, newest first (optional conversation_id, date_from, date_to, limit) get - One recording and its transcript: turns by speaker ("you" or "contact") with start/end seconds (requires id; include_words adds each word's timing) search - Recordings whose name or transcript mat…
| Parameter | Type | Description |
|---|---|---|
action * | string | Call recordings action to perform |
conversation_id | string | Only recordings of this conversation (a contact or group ID) |
date_from | string | Only recordings started on or after this date (ISO 8601) |
date_to | string | Only recordings started on or before this date (ISO 8601) |
id | string | Recording ID (required for get) |
include_words | boolean | For get: include each word with its start and end in seconds (default false) |
limit | number | Max recordings to return (default 20, max 100) |
search | string | Text to find in names and transcripts (required for search) |
target_session | string | Session ID for multi-account routing |