cancel_rich_menu_default
Remove the default rich menu from a LINE Official Account to stop displaying it automatically to users.
Instructions
Cancel the default rich menu.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/cancelRichMenuDefault.ts:14-23 (handler)The tool handler that calls the LINE Messaging API to cancel the default rich menu.
register(server: McpServer) { server.tool( "cancel_rich_menu_default", "Cancel the default rich menu.", {}, async () => { const response = await this.client.cancelDefaultRichMenu(); return createSuccessResponse(response); }, ); - src/index.ts:69-69 (registration)Registration of the cancel_rich_menu_default tool within the server.
new CancelRichMenuDefault(messagingApiClient).register(server);