productivity
LINE Messaging MCP, CLI, and Lua Integration for AI Agents
LINE Messaging integration docs for AI agents: MCP gateway setup, LINE Messaging CLI commands, Lua API reference, credentials, and function schemas.LINE Messaging for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
line.line_reply_message | Write write | 3 | Send a reply message using a webhook reply token. |
line.line_send_message | Write write | 4 | Send a push message to a specific LINE user, group, or room. Supports text, image, video, sticker, location, flex, and other message types. |
line.line_multicast_message | Write write | 3 | Send messages to multiple LINE user IDs. |
line.line_narrowcast_message | Write write | 4 | Send a narrowcast message with recipient and demographic filters. |
line.line_get_narrowcast_progress | Read read | 1 | Get the progress status of a LINE narrowcast request. |
line.line_broadcast_message | Write write | 2 | Broadcast a message to all users who have added the LINE Official Account as a friend. Supports all message types. |
line.line_mark_as_read | Write write | 1 | Mark messages in a LINE chat as read. |
line.line_start_loading_animation | Write write | 2 | Display a LINE loading animation for a chat. |
line.line_get_message_quota | Read read | 0 | Get the monthly LINE message quota limit. |
line.line_get_message_quota_consumption | Read read | 0 | Get LINE message quota consumption for the current month. |
line.line_get_delivery_count | Read read | 2 | Get number of sent LINE messages for reply, push, multicast, or broadcast on a date. |
line.line_validate_messages | Write write | 2 | Validate LINE message objects for a target send endpoint. |
line.line_set_webhook_endpoint | Write write | 1 | Set the LINE channel webhook endpoint URL. |
line.line_get_webhook_endpoint | Read read | 0 | Get LINE channel webhook endpoint information. |
line.line_test_webhook_endpoint | Write write | 1 | Test the LINE webhook endpoint. |
line.line_get_profile | Read read | 1 | Get the profile information of a LINE user, including display name, profile image URL, status message, and language. |
line.line_list_friends | Read read | 2 | List the friends (followers) of the LINE Official Account. Returns user IDs that can be used with send_message and get_profile. |
line.line_get_current_user | Read read | 0 | Get the profile of the LINE Official Account (bot) itself, including display name, icon URL, and basic info. |
line.line_get_group_summary | Read read | 1 | Get LINE group chat summary information. |
line.line_get_group_member_count | Read read | 1 | Get member count for a LINE group chat. |
line.line_list_group_member_ids | Read read | 2 | List LINE group member user IDs. |
line.line_get_group_member_profile | Read read | 2 | Get profile information for a LINE group member. |
line.line_leave_group | Write write | 1 | Leave a LINE group chat. |
line.line_create_rich_menu | Write write | 1 | Create a LINE rich menu object. |
line.line_validate_rich_menu | Write write | 1 | Validate a LINE rich menu object. |
line.line_list_rich_menus | Read read | 0 | List LINE rich menus configured for the channel. |
line.line_get_rich_menu | Read read | 1 | Get LINE rich menu metadata. |
line.line_delete_rich_menu | Write write | 1 | Delete a LINE rich menu by ID. |
line.line_set_default_rich_menu | Write write | 1 | Set the default rich menu for all LINE users. |
line.line_get_default_rich_menu | Read read | 0 | Get the default LINE rich menu ID. |
line.line_clear_default_rich_menu | Write write | 0 | Clear the default LINE rich menu. |
line.line_link_rich_menu_to_user | Write write | 2 | Link a LINE rich menu to a specific user. |
line.line_get_user_rich_menu | Read read | 1 | Get the rich menu linked to a LINE user. |
line.line_unlink_rich_menu_from_user | Write write | 1 | Unlink a rich menu from a LINE user. |
line.line_issue_link_token | Write write | 1 | Issue an account-link token for a LINE user. |