hermosodocs

search_inbox

Search the inbox read-only

Area: INBOX ACTIONS, ENGAGEMENT, PAGE INFO, LINKEDIN REACTORS · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

Search the brand’s direct-message inbox two ways at once: WORDS inside the messages (whole words, any case or accent; every word must be in one message) and the PERSON (part of their name, handle or number). Covers WhatsApp, Messenger and Instagram, Telegram, SMS, iMessage, LINE, Slack, Discord, email, the domain inbox and call transcripts; X only with includeX (every X message read is billed). direction:"outgoing" finds how the brand itself writes, e.g. to teach an AI its tone. Each hit carries channel + conversationId (for manage_inbox_conversation and reply_to_inbox_item via list_inbox) and up to 3 matching messages. A channel that could not be read is named in notes, never counted as "no match". Read-only, 0 credits (X billed only when included).

Parameters

ParameterTypeDescription
queryrequiredstringwords to find in messages, or part of a name, @handle or phone number
direction"any" | "incoming" | "outgoing"which messages to search: any (default), incoming (from people), outgoing (from the brand)
channelsstring[]limit to these: whatsapp, meta, telegram, sms, imessage, line, slack, discord, email, domain_mail, call, x
limitnumberconversations to return (1-50, default 20)
maxThreadsnumberhow many of the newest conversations to read for words (0-100, default 40); a name or number matches every conversation listed
includeXbooleanalso search X direct messages (billed per message read)

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/search_inbox.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_inbox","arguments":{"query":"<string>"}}}

CLI

hermoso call search_inbox --json '{"query":"<string>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 728 Publishing & scheduling tools · tools.json