send_line_message
Send a LINE message
Description
Send a message from the brand’s LINE Official Account to ONE person: text (up to 5,000 characters), a picture (JPEG or PNG, up to 10 MB) or a video (MP4, up to 200 MB). Anything over a limit is REFUSED with the limit, never cut or converted. TWO KINDS, decided by time: inside a minute of the person’s own message it goes as a REPLY, which is free; otherwise it is a PUSH message, which uses one message of the account’s monthly LINE quota (line_quota reads the quota and what is used). LINE bills that quota to the account on its own plan; Hermoso charges nothing. The answer says which of the two it was. To ANSWER someone who wrote in, read_line_inbox (or list_inbox + reply_to_inbox_item) shows the conversation first. THIS REACHES A REAL PERSON, so it is confirm-gated: show the user the exact message and who it goes to, get an explicit yes, then call again with confirm:true. LINE does not report delivery, and it accepts a message to someone who blocked the account without delivering it, so never tell the user it was delivered. LINE has no API for LINE VOOM, so this is messages only: never offer to post to LINE. Free, 0 credits.
Parameters
| Parameter | Type | Description |
|---|---|---|
torequired | string | the person’s LINE user id: the letter U followed by 32 characters, shown on every conversation in read_line_inbox. 1:1 only; group and room ids are not taken |
text | string | the message text, up to 5,000 characters |
imageUrl | string | a picture, JPEG or PNG up to 10 MB: a URL, not a local file path; use upload_file for local files |
videoUrl | string | a video, MP4 up to 200 MB: a URL, not a local file path; use upload_file for local files |
confirm | boolean | REQUIRED true: this sends a real message to a real person |
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/send_line_message.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_line_message","arguments":{"to":"<string>"}}}
CLI
hermoso call send_line_message --json '{"to":"<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.
Related tools
line_quotaRead the LINE message quotaread_line_inboxRead and answer LINE messageslist_inboxOne inbox for comments, replies, mentions, reviews and DMsreply_to_inbox_itemReply to anything in the inboxsend_line_broadcastBroadcast a LINE message to many peopleline_accountRead the LINE account and its webhookline_profileRead a LINE user’s profile