MCPCommerce
Search menus
distru-search-menusReadSearches the wholesale menus the company publishes to its buyers: one row per menu with its names, visibility, public URL, ordering rules and AI order intake address.
Inputs
Every tool also takes the common inputs.
| Field | Type | Required | Description |
|---|---|---|---|
| limit | integer | No | Default: 10 |
| cursor | string | No | nextCursor of the previous call; keep the other arguments unchanged. |
| ids | string[] | No | Menu IDs. |
| search | string | No | Case-insensitive substring of internal or buyer-facing external name. Ranks by name similarity; sortBy ignored. |
| status | enumACTIVEANYINACTIVE | No | Default ACTIVE. An inactive menu serves nothing to buyers. |
| visibility | enumPASSCODE_PROTECTEDPRIVATEPUBLIC | No | PUBLIC = anyone with the link; PRIVATE = only the company's own logged-in users; PASSCODE_PROTECTED = those users or anyone with the passcode. |
| sortBy | object | No | Default: most recently updated first. Ignored when search is set. |
| sortBy. | enumASCDESC | Yes | |
| sortBy. | enumINSERTED_ATNAMEUPDATED_AT | Yes | NAME = internal menu name. |
Output
Presence on a nested field assumes its parent exists.
| Field | Type | Presence |
|---|---|---|
| hasMore | boolean | Always |
| nextCursor | string | Can be absent |
| totalCount | integer | Can be absent |
| items | object[] | Always |
| items[]. | string | Always |
| items[]. | string | Always |
| items[]. | string | Always |
| items[]. | string | Can be null |
| items[]. | boolean | Always |
| items[]. | boolean | Always |
| items[]. | enumPASSCODE_PROTECTEDPRIVATEPUBLIC | Always |
| items[]. | string | Always |
| items[]. | boolean | Always |
| items[]. | boolean | Always |
| items[]. | boolean | Always |
| items[]. | number | Always |
| items[]. | string | Can be null |
| items[]. | string | Can be null |
| items[]. | string | Always |
| items[]. | string | Always |
What the AI reads
Searches the wholesale menus the company publishes to its buyers: one row per menu with its names, visibility, public URL, ordering rules and AI order intake address. Use it to resolve a menuId for distru-search-menu-products or distru-search-menu-collections. aiOrderIntakeEmail is null unless AI order intake by email is switched on for the menu.