KosmoKrator

messaging

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.

5 functions 3 read 2 write Bearer token auth

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.

Machine-Readable Metadata
integration_slug
line
route_slug
line
package
line
auth_strategy
bearer_token Bearer token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

LINE Messaging MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for LINE Messaging.

LINE Messaging CLI Matrix

Use these pages for direct LINE Messaging CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
line.line_send_message Write write 3 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_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_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.