List LINE Rich Menus
line_list_rich_menusList all rich menus on a LINE Official Account, identify the default menu, and check total count to prevent exceeding the 1,000-menu limit before creating new menus.
Instructions
List all rich menus on an OA + identify which one is the account-wide default. OAs can hold up to 1,000 rich menus — use line_delete_rich_menu to clean up.
Args:
oa: optional OA id.
response_format: 'markdown' (default) | 'json'.
Returns: { total: number, default_id?: string, rich_menus: [{ rich_menu_id, name, chat_bar_text?, size?, is_default, is_selected }] }
Use this before line_build_rich_menu to avoid hitting the 1,000-menu cap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oa | No | ||
| response_format | No | markdown |