get_message_media
Download and decrypt LINE media messages including images, videos, audio, and files from chats. Returns the decrypted media content for use in applications.
Instructions
Download and decrypt one LINE media message of any downloadable type (image, video, audio, file). Returns image/audio MCP content, or an embedded resource blob (with filename when known) for video/file. Non-media messages (text, sticker refs, unsupported types) return an honest error naming the content type — never fabricated bytes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | LINE chat/group/room MID the message belongs to. Required to locate E2EE key material. | |
| preview | No | Fetch the smaller preview object instead of the full-resolution original (images/video only). | |
| messageId | Yes | LINE message id, as returned by get_chat_messages. |