Skip to content

Conversation

4geru
Copy link
Contributor

@4geru 4geru commented Jun 24, 2025

Add richMenuAliasId Support to createRichMenu Tool

Overview

This PR adds support for creating and updating a rich menu alias in the create_rich_menu tool, enabling seamless switching between rich menus.
Additionally, it includes a minor refactor for the getMessageQuota tool.

Changes

  • createRichMenu.ts
    • Added an optional richMenuAliasId parameter to the create_rich_menu tool.
    • If richMenuAliasId is provided, the tool will delete any existing alias with the same ID and create a new alias linked to the newly created rich menu.
    • Improved the description for the actions parameter to provide more detail.
    • Included richMenuAliasResponse in both the error and success responses for better traceability.
  • getMessageQuota.ts
    • Refactored the response object creation for conciseness and clarity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant