Skip to main content
Glama

get_rich_menu_list

Retrieve all rich menus configured for your LINE Official Account to manage interactive message layouts and user navigation options.

Instructions

Get the list of rich menus associated with your LINE Official Account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The asynchronous handler function for the 'get_rich_menu_list' tool. It calls this.client.getRichMenuList() to fetch the list of rich menus and returns a success response or error response.
    async () => { try { const response = await this.client.getRichMenuList(); return createSuccessResponse(response); } catch (error) { return createErrorResponse( `Failed to broadcast message: ${error.message}`, ); } },
  • src/index.ts:67-67 (registration)
    Instantiates the GetRichMenuList tool with the messaging API client and registers it on the MCP server.
    new GetRichMenuList(messagingApiClient).register(server);
  • The register method that performs the actual tool registration on the MCP server, specifying name, description, input schema (empty), and handler function.
    register(server: McpServer) { server.tool( "get_rich_menu_list", "Get the list of rich menus associated with your LINE Official Account.", {}, async () => { try { const response = await this.client.getRichMenuList(); return createSuccessResponse(response); } catch (error) { return createErrorResponse( `Failed to broadcast message: ${error.message}`, ); } }, ); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tndfame/mcp_management'

If you have feedback or need assistance with the MCP directory API, please join our Discord server