Turn Raw Menu Text into a Structured Menu
food_compile_structured_menuConvert restaurant menu text, Markdown or HTML into JSON with per-item prices and menu-text dietary signals. Behavior: accepts prepaid spend key or Base USDC. Produces a draft for owner review.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"venue_name": "<venue_name>",
"raw_menu_text": "<raw_menu_text>"
},
"name": "food_compile_structured_menu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spend_key | No | Optional prepaid spend key (sbk_*) for paid tools. Can also be sent in the x-atlas-spend-key HTTP header. | |
| source_url | No | Optional official menu URL for provenance. | |
| venue_name | Yes | Restaurant or venue display name. | |
| business_id | No | Optional stable business_id slug. | |
| destination | No | Town or city ID (for example: "annapolis", "ocean_city", "kill_devil_hills", "wharf_dc", "falmouth", "kingston"). Optional when connected to /food/:destination/mcp. | |
| builder_code | No | Optional partner builder_code for revenue sharing (can also be sent in the x-atlas-builder-code header). | |
| raw_menu_text | Yes | Raw unstructured menu text, Markdown, HTML snippet, or OCR lines with section headings and item prices. | |
| idempotency_key | No | Optional Idempotency-Key for safe retries without double billing. | |
| direct_order_url | No | Optional first-party direct ordering URL. | |
| payment_signature | No | Optional Base USDC x402 PAYMENT-SIGNATURE header value if paying with a crypto wallet instead of a spend key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| menu_sha256 | No | ||
| compiled_menu | No | ||
| publication_status | No |