Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create Rich Menu
LINE_CREATE_RICH_MENUCreate a rich-menu definition and return its ID. Creation alone does not display it: upload an image, then set it as default or link it to a user.
Create Rich Menu with Image
LINE_CREATE_RICH_MENU_WITH_IMAGECreate a rich-menu definition and upload its JPEG or PNG image in one call; the finished menu must still be set as default or linked to a user to display. If image upload fails, the tool attempts to delete the new definition, but cleanup can also fail.
Delete Rich Menu
LINE_DELETE_RICH_MENUPermanently delete a rich menu by ID. Delete only a menu the caller owns or explicitly intends to remove.
Download Message Content Preview
LINE_DOWNLOAD_MESSAGE_CONTENT_PREVIEWDownload LINE's reduced-size preview image for a retained image or video message whose contentProvider.type is line.
Get Follower Insight
LINE_GET_FOLLOWER_INSIGHTReturn cumulative first-time friend additions, currently targetable users, and current blocks as of one UTC+9 date. The friend-add total does not decrease after blocks or account deletions. Counts can be unavailable while statistics are unready or out of service.
Get Message Delivery Count
LINE_GET_MESSAGE_DELIVERY_COUNTGet the number of reply, push, multicast, or broadcast messages sent on one UTC+9 calendar date. A result can be unready, unavailable_for_privacy, or out_of_service instead of containing a count.
Get Message Delivery Insight
LINE_GET_MESSAGE_DELIVERY_INSIGHTReturn aggregate counts of messages sent on one UTC+9 calendar date, broken down across Official Account Manager, Messaging API, and supported partner channels.
Get Rich Menu
LINE_GET_RICH_MENUGet one Messaging API rich-menu definition by ID, including its canvas, tappable areas, and actions.
Link or Unlink User Rich Menu
LINE_LINK_OR_UNLINK_USER_RICH_MENULink or unlink a per-user rich menu. WARNING: LINE can return HTTP 200 even when nothing changed for a nonexistent, deleted, blocked, non-friend, or cross-channel user; success confirms request acceptance, not the assignment effect.
List Chat Member IDs
LINE_LIST_CHAT_MEMBER_IDSReturn one page of member user IDs for a group or legacy room containing the bot. Requires a verified or premium LINE Official Account; room applies only to legacy multi-person chats.
List Follower IDs
LINE_LIST_FOLLOWER_IDSReturn one page of user IDs for friends of the LINE Official Account. This endpoint requires a verified or premium LINE Official Account and excludes blockers, deleted users, and users without profile consent.
List Rich Menus
LINE_LIST_RICH_MENUSList all rich menus created through the Messaging API. Menus created in LINE Official Account Manager are not included.
Mark Messages as Read
LINE_MARK_MESSAGES_AS_READMark all messages through a webhook-issued read token as read. The token must have been received by this exact bot; this operation cannot be undone.
Reply to Message
LINE_REPLY_TO_MESSAGEReply with one to five text messages using a single-use token from a LINE webhook. Call this within one minute of receiving the token. If LINE reports an expired, reused, or invalid token, wait for a new webhook event and use its new reply token; the failed token cannot be refreshed or retried.
Send Push Message
LINE_SEND_PUSH_MESSAGEIrreversibly send one to five text messages from a LINE Official Account to a webhook/API userId, groupId, or roomId. The destination is never a user's visible LINE ID.
Set or Clear Default Rich Menu
LINE_SET_OR_CLEAR_DEFAULT_RICH_MENUSet or clear the Messaging API default rich menu. Setting requires an image-backed rich menu; clearing does not delete the menu and does not clear a default managed in LINE Official Account Manager.
Upload Rich Menu Image
LINE_UPLOAD_RICH_MENU_IMAGEUpload a JPEG or PNG image for a rich menu. An image cannot be replaced for the same rich-menu ID; create a new menu to use another image.