get_rich_menu_list
Retrieve all rich menus configured for your LINE Official Account to manage interactive message interfaces.
Instructions
Get the list of rich menus associated with your LINE Official Account.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/getRichMenuList.ts:22-32 (handler)The handler function that executes the tool logic by calling the LINE Messaging API client to retrieve the rich menu list.
async () => { try { const response = await this.client.getRichMenuList(); return createSuccessResponse(response); } catch (error) { return createErrorResponse( `Failed to broadcast message: ${error.message}`, ); } }, ); - src/tools/getRichMenuList.ts:17-33 (registration)The registration method that registers the tool with the MCP server.
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}`, ); } }, ); }