view_menu
Access the complete Chipotle menu to explore available items before placing an order.
Instructions
View the full Chipotle menu. Start here before ordering.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- index.js:86-120 (handler)The handler and registration for the 'view_menu' tool, which constructs a markdown representation of the Chipotle menu and returns it as text content.
server.tool( "view_menu", "View the full Chipotle menu. Start here before ordering.", {}, async () => { const menu = [ "# Chipotle Menu", "", "## Entrees", ...ENTREES.map((e) => ` - ${e}`), "", "## Proteins", ...PROTEINS.map((p) => ` - ${p}`), "", "## Rice", ...RICES.map((r) => ` - ${r}`), "", "## Beans", ...BEANS.map((b) => ` - ${b}`), "", "## Toppings (mix and match)", ...TOPPINGS.map((t) => ` - ${t}`), "", "## Sides", ...SIDES.map((s) => ` - ${s}`), "", "## Drinks", ...DRINKS.map((d) => ` - ${d}`), "", "---", "Note: Guac and Queso are extra. Always have been. Always will be.", ]; return { content: [{ type: "text", text: menu.join("\n") }] }; } );