Push Flex Message
push_flex_messageSend a Flex Message with rich layout to a LINE user, group, or room. Provide the Flex container as JSON and alt text for push notifications.
Instructions
Send a Flex Message (rich layout) to a LINE user, group, or room. Pass the Flex container as a JSON string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target ID — User ID (U…), Group ID (C…), or Room ID (R…). If omitted, falls back to the DEFAULT_UID environment variable. | |
| altText | Yes | Alternative text shown in push notifications (max 400 chars) | |
| contents | Yes | Flex Message container JSON string (bubble or carousel) |