hermosodocs

send_line_broadcast

Broadcast a LINE message to many people destructive

Area: LINE · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

Send ONE LINE message to MANY people. THREE MODES, as LINE defines them: "broadcast" goes to EVERY friend of the account; "multicast" goes to a list of LINE user ids (up to 5,000 a call, sent 500 at a time as LINE requires); "narrowcast" goes to the friends who match a LINE audience or demographic filter, and LINE sends it in the background (it needs the account to reach at least 100 friends, and at least 50 people to match). EVERY PERSON REACHED USES ONE MESSAGE of the account’s monthly LINE quota, and a sent message cannot be recalled. So it never runs on confirm alone. FIRST call it with dryRun:true: free, sends nothing, and reports the number of people it reaches (read from LINE just now) and the quota left. Show the user the message and that number. THEN call with confirm:true and confirmCount set to exactly that number; a different number is refused. If LINE has not finished counting the account’s friends (its figures take about a day) the number is unknown, the tool says so, and it sends only with confirmUnknownAudience:true. A multicast reports how many people LINE accepted the message for; if a request fails part-way the answer says how many were NOT sent to, never success. Duplicates on a list are removed and ids that are not LINE user ids are refused by name (skipInvalid:true sends to the rest, still naming them). READ MODE: pass requestId alone to read how far a narrowcast got. LINE bills the quota to the account; Hermoso charges nothing. Free, 0 credits.

Parameters

ParameterTypeDescription
mode"broadcast" | "multicast" | "narrowcast"broadcast = every friend (default); multicast = the `recipients` list; narrowcast = friends matching `filter`
textstringthe message text, up to 5,000 characters
imageUrlstringa picture, JPEG or PNG up to 10 MB: a URL, not a local file path; use upload_file for local files
videoUrlstringa video, MP4 up to 200 MB: a URL, not a local file path; use upload_file for local files
recipientsstring[]multicast only: LINE user ids (U followed by 32 characters)
skipInvalidbooleanmulticast: leave out ids that are not LINE user ids instead of refusing the list. They are still named in the result
filterobjectnarrowcast only: LINE’s own filter object, e.g. { demographic: { type: "gender", oneOf: ["female"] } } (types: age, appType, area, gender, subscriptionPeriod, or operator to combine them)
recipientobjectnarrowcast only: LINE’s own recipient object naming an audience, e.g. { type: "audience", audienceGroupId: 5614991017776 }
maxnumbernarrowcast only: the most people to send to
upToRemainingQuotabooleannarrowcast only: send to as many as the remaining quota allows
dryRunbooleanfree: report who it would reach and the quota, send nothing
confirmbooleanREQUIRED true to send: it reaches real people and cannot be recalled
confirmCountnumberREQUIRED to send: the exact number of people it reaches, as the dry run reported. confirm:true alone cannot tell a 12-person test from a 20,000-person send
confirmUnknownAudiencebooleanonly when LINE could not give the number: true to send anyway
requestIdstringREAD MODE: a narrowcast’s request id, passed alone, to read its progress instead of sending

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_broadcast.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_line_broadcast","arguments":{}}}

CLI

hermoso call send_line_broadcast --json '{}'

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