# Hermoso: reply_to_meta_message · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/reply_to_meta_message/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / reply_to_meta_message

# `reply_to_meta_message`

Reply to a Messenger / Instagram DM destructive

Area: MESSENGER + INSTAGRAM DIRECT · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Send a text reply to someone who has messaged the brand. THIS REACHES A REAL PERSON — show the user the exact text and who it goes to, get a yes, then send. Pass `conversationId` as well as `recipientId` and Hermoso checks Meta’s 24-hour window for free BEFORE sending, and refuses with the real reason instead of letting Meta refuse it; without one it sends and discloses that the window could not be checked. HERMOSO SENDS REPLIES ONLY: messaging_type is always RESPONSE, and proactive messages and message tags are not offered at all — that is a deliberate product boundary, not a gap. THE ONE PROACTIVE THING MESSENGER ALLOWS IS A MARKETING-MESSAGES SUBSCRIPTION: to ask a person in the inbox to SUBSCRIBE to marketing messages, call request_messenger_optin (Meta’s own opt-in template, in the ads group — enable_tools(["ads"]) or find_tools if it is not in your list). Never answer that with a plain-text reply asking them to say YES, and never say the capability does not exist. And a closed window is a RULE that only the person writing again reopens. `recipientId` is a PAGE-SCOPED ID on Messenger and an INSTAGRAM-SCOPED ID on Instagram (read_meta_conversation returns it as `replyTo`); a username or a handle is not one and cannot be turned into one. ACCEPTED IS NOT DELIVERED — never report it as delivered or read. RICH REPLIES: `attachments` (photos, video, voice notes, PDFs by https URL; upload_file turns a local file into one), `buttons` (up to 3 link or postback buttons under the text), `cards` (a carousel of up to 10), `quickReplies` (up to 13 tap-to-answer chips), `replyToMessageId` (answer one earlier message), `senderAction` (typing_on, typing_off or mark_seen, sent first). One reply can become several Meta messages, sent in order: the text, the media, the cards; the answer lists each part and, when one is refused, which parts went out. Limits are Meta’s and a reply over one is refused, never cut (Instagram text is 1000 bytes). 0 credits.

## Parameters

Parameter Type Description

`recipientId` required `string` the PSID (Messenger) or IGSID (Instagram) to reply to — `replyTo` from read_meta_conversation

`text` `string` the reply text; optional when sending only attachments, cards or a senderAction

`attachments` `object[]` photos, a video, a voice note or a PDF; images group into one message

`attachments[].url` required `string` https URL Meta downloads

`attachments[].type` `"image" | "video" | "audio" | "file"` guessed from the file name when omitted

`buttons` `object[]` up to 3 buttons under the text (text required, 640 characters max with buttons)

`buttons[].type` required `"url" | "postback"` url opens a page; postback sends `payload` back as a tap

`buttons[].title` required `string` up to 20 characters

`buttons[].url` `string`

`buttons[].payload` `string`

`cards` `object[]` a carousel of up to 10 cards

`cards[].title` required `string` up to 80 characters

`cards[].subtitle` `string` up to 80 characters

`cards[].imageUrl` `string`

`cards[].url` `string` opened when the card is tapped

`cards[].buttons` `object[]` up to 3

`cards[].buttons[].type` required `"url" | "postback"`

`cards[].buttons[].title` required `string`

`cards[].buttons[].url` `string`

`cards[].buttons[].payload` `string`

`quickReplies` `string | object[]` up to 13 chips on the last message; they disappear after the next message

`replyToMessageId` `string` a message id from read_meta_conversation to answer inline

`senderAction` `"typing_on" | "typing_off" | "mark_seen"` shown to the person; can be sent on its own

`humanAgent` `boolean` HUMAN AGENT — true when a PERSON on the team is personally answering a customer's question more than 24 hours after they last wrote (up to 7 days): Meta's HUMAN_AGENT tag. Never for automated, promotional or unrelated messages. Meta grants the tag only after approving Hermoso's Human Agent feature (App Review, pending); until then Meta refuses it and the reply says so.

`conversationId` `string` strongly recommended: it is what lets the 24-hour window be checked BEFORE sending rather than discovered by a refusal

`platform` `"MESSENGER" | "INSTAGRAM"` MESSENGER or INSTAGRAM; the channel the conversation is on

`account` `string` which Instagram account — an @handle or id from list_connector_accounts("instagram"). The way a DIRECT (Instagram Login) account is reached; omit for the Page-linked one.

`pageId` `string` Facebook Page that owns the conversation; omit when only one Page is connected

## 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/reply_to_meta_message`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"reply_to_meta_message","arguments":{"recipientId":"<string>"}}}`
**CLI**

`hermoso call reply_to_meta_message --json '{"recipientId":"<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](https://hermoso.ai/docs/credits/).

## Related tools

- [request_messenger_optin](https://hermoso.ai/docs/reference/ads/request_messenger_optin/) Ask a Messenger contact to subscribe to marketing messages
- [enable_tools](https://hermoso.ai/docs/reference/workspace/enable_tools/) Turn on more Hermoso tools
- [find_tools](https://hermoso.ai/docs/reference/workspace/find_tools/) Find a Hermoso tool by name or task
- [read_meta_conversation](https://hermoso.ai/docs/reference/publish/read_meta_conversation/) Read one Messenger / Instagram DM thread
- [upload_file](https://hermoso.ai/docs/reference/publish/upload_file/) Upload a local file -> durable public URL
- [list_meta_conversations](https://hermoso.ai/docs/reference/publish/list_meta_conversations/) The brand’s Messenger and Instagram DM threads

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
