send_line_broadcast
Broadcast a LINE message to many people destructive
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
| Parameter | Type | Description |
|---|---|---|
mode | "broadcast" | "multicast" | "narrowcast" | broadcast = every friend (default); multicast = the `recipients` list; narrowcast = friends matching `filter` |
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 |
recipients | string[] | multicast only: LINE user ids (U followed by 32 characters) |
skipInvalid | boolean | multicast: leave out ids that are not LINE user ids instead of refusing the list. They are still named in the result |
filter | object | narrowcast only: LINE’s own filter object, e.g. { demographic: { type: "gender", oneOf: ["female"] } } (types: age, appType, area, gender, subscriptionPeriod, or operator to combine them) |
recipient | object | narrowcast only: LINE’s own recipient object naming an audience, e.g. { type: "audience", audienceGroupId: 5614991017776 } |
max | number | narrowcast only: the most people to send to |
upToRemainingQuota | boolean | narrowcast only: send to as many as the remaining quota allows |
dryRun | boolean | free: report who it would reach and the quota, send nothing |
confirm | boolean | REQUIRED true to send: it reaches real people and cannot be recalled |
confirmCount | number | REQUIRED 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 |
confirmUnknownAudience | boolean | only when LINE could not give the number: true to send anyway |
requestId | string | READ 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.
Related tools
send_line_messageSend a LINE messageline_quotaRead the LINE message quotaread_line_inboxRead and answer LINE messagesline_accountRead the LINE account and its webhookline_profileRead a LINE user’s profile