Skip to main content
Glama

cancel_rich_menu_default

Remove the default rich menu from your LINE bot to stop displaying it automatically to users when they interact with your account.

Instructions

Cancel the default rich menu.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the tool logic: cancels the default rich menu via the LINE Messaging API and returns a formatted success response.
    async () => { const response = await this.client.cancelDefaultRichMenu(); return createSuccessResponse(response); },
  • Registers the 'cancel_rich_menu_default' tool on the MCP server within the CancelRichMenuDefault class's register method, including name, description, empty input schema, and handler.
    server.tool( "cancel_rich_menu_default", "Cancel the default rich menu.", {}, async () => { const response = await this.client.cancelDefaultRichMenu(); return createSuccessResponse(response); }, );
  • src/index.ts:70-70 (registration)
    Instantiates the CancelRichMenuDefault tool with the messaging API client and registers it on the main MCP server.
    new CancelRichMenuDefault(messagingApiClient).register(server);

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