broadcast_messages
Send text or flex messages to all LINE followers simultaneously. Use this tool to distribute announcements, updates, or content to your entire audience at once.
Instructions
Broadcast one or more LINE messages to all followers (generic).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
messages | Yes | Array of LINE messages (text/flex) |
Input Schema (JSON Schema)
{
"properties": {
"messages": {
"description": "Array of LINE messages (text/flex)",
"items": {
"anyOf": [
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"text": {
"description": "The plain text content to send to the user.",
"maxLength": 5000,
"type": "string"
},
"type": {
"const": "text",
"default": "text",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"altText": {
"description": "Alternative text shown when flex message cannot be displayed.",
"type": "string"
},
"contents": {
"additionalProperties": true,
"description": "Flexible container structure following LINE Flex Message format. For 'bubble' type, can include header, hero, body, footer, and styles sections. For 'carousel' type, includes an array of bubble containers in the 'contents' property.",
"properties": {
"type": {
"description": "Type of the container. 'bubble' for single container, 'carousel' for multiple swipeable bubbles.",
"enum": [
"bubble",
"carousel"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"type": {
"const": "flex",
"default": "flex",
"type": "string"
}
},
"required": [
"altText",
"contents"
],
"type": "object"
}
]
}
]
},
"minItems": 1,
"type": "array"
}
},
"required": [
"messages"
],
"type": "object"
}