push_gemini_flex
Generate and send LINE Flex messages to users by describing the card content in natural language using Gemini AI.
Instructions
Generate a LINE Flex message (bubble/carousel) from a natural language prompt using Gemini, then push it to a user.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
altText | No | Alternative text for Flex message. | Generated card |
model | No | Gemini model name, e.g., gemini-2.0-flash | gemini-2.0-flash |
prompt | Yes | Describe the Flex card you want. | |
userId | No | The user ID to receive a message. Defaults to DESTINATION_USER_ID. | U1a2b3c4d5e6f7g8h9i0j1k2l3m4n5o6p |
Input Schema (JSON Schema)
{
"properties": {
"altText": {
"default": "Generated card",
"description": "Alternative text for Flex message.",
"type": "string"
},
"model": {
"default": "gemini-2.0-flash",
"description": "Gemini model name, e.g., gemini-2.0-flash",
"type": "string"
},
"prompt": {
"description": "Describe the Flex card you want.",
"minLength": 1,
"type": "string"
},
"userId": {
"default": "U1a2b3c4d5e6f7g8h9i0j1k2l3m4n5o6p",
"description": "The user ID to receive a message. Defaults to DESTINATION_USER_ID.",
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
}