Skip to content

Add richMenuAliasId Support and Improve Parameter Descriptions in createRichMenu Tool #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 41 commits into
base: main
Choose a base branch
from

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