create_checkout_link
ChatGPTAfter the user explicitly confirms checkout, pass the exact complete proposedBag from model context. This tool projects it into the public base64 orderToken contract and returns a checkout link to the Sweetgreen Order app bag. It does not render a widget; share the link with the user in chat because it does not open automatically. The Sweetgreen Order app treats it as untrusted input, revalidates it, and creates the real bag. If this conversation already sent this bag to checkout, the user may have placed that order: ask whether they want to order it again or start a new bag before creating another link. The legacy flat bag fields remain accepted for app calls.
find_delivery_location
ChatGPTAfter the user confirms a delivery address from search_delivery_addresses, find the Sweetgreen restaurant that delivers there, with the estimated delivery time and delivery fee. Pass the exact deliveryAddress unchanged, plus addressLine2 for an apartment, suite, or unit. Does not render a widget. When status is available, continue with the returned restaurant.id as restaurantId, fulfillment delivery, and the returned deliveryAddress. When status is closed or unavailable, tell the user and offer pickup instead.
find_location_candidates
ChatGPTModel-only location lookup after the user has explicitly supplied both pickup or Outpost and an unambiguous city, neighborhood, landmark, or ZIP code. Requires a caller-resolved approximate search center and returns up to 25 nearby candidates without rendering a widget. If status is candidates, call render_location_candidates once with the exact returned fulfillment and locations. If status is single_match, the one open restaurant is selected: continue the user’s request with its restaurantId without asking them to confirm it. If status is needs_location, stop using tools for this turn and ask for another area or restaurant in chat. Never call for a generic ordering request, when fulfillment or location is missing, or when the user already named a Sweetgreen restaurant.
get_product_customization
ChatGPTGet current product details, included ingredients, modifier groups, choices, availability, and display pricing for one restaurant and fulfillment method. Pass proposedBag and menuFilter from model context unchanged when they exist.
inspect_product_customization
ChatGPTAdvanced model-only fallback for exact included ingredient, modifier group, and canonical full product ingredient identifiers. Common conversational changes should use update_proposed_bag add_product_by_name or remove_ingredient_by_name so the service resolves these identifiers internally. Use this only for an advanced identifier-based configuration or to disambiguate a server-reported name collision. This tool never opens the customization UI.
open_ordering
ChatGPTApp-only ChatGPT sidebar entrypoint that opens the Sweetgreen pickup, delivery, and Outpost order builder fullscreen. Never call this from the model.
open_ordering_panel
ChatGPTApp-only ChatGPT conversation side-panel entrypoint that opens the Sweetgreen pickup, delivery, and Outpost order builder beside the chat. Never call this from the model.
render_location_candidates
ChatGPTRender the compact location chooser only after find_location_candidates returns status candidates. Pass the exact fulfillment and locations array from that result unchanged. Never call this with an empty list or invented locations.
render_proposed_bag
ChatGPTTerminal presentation step for a successful conversational bag change. Call only after update_proposed_bag succeeds, passing its exact proposedBag, including its receipt, and optional menuFilter. A bag without a valid receipt from update_proposed_bag is rejected. This is the only tool that should render during a direct add, remove, replace, or quantity-change request.
report_widget_diagnostic
ChatGPTApp-only diagnostic reporting for widget initialization and model-context failures.
search_delivery_addresses
ChatGPTLook up the street address the user wants delivery to, before find_delivery_location. Pass the address as the user typed it, including the city or ZIP code when given. Returns up to five matching US street addresses without rendering a widget. Confirm the address with the user as the server instructions describe, then pass the chosen deliveryAddress unchanged to find_delivery_location. Searches are rate limited: never call this repeatedly to guess an address, and never use it for pickup or Outpost.
search_locations
ChatGPTApp-only pickup and Outpost finder. With no search arguments, use the coarse host location hint. Use query only for a direct restaurant-name search, or latitude, longitude, and radius for caller-resolved coordinates.
search_mentions
ChatGPTApp-only ChatGPT composer typeahead that finds Sweetgreen pickup and Outpost restaurants by name. Never call this from the model.
update_proposed_bag
ChatGPTData-only step that creates or updates the complete client-owned proposed bag without rendering a widget. Its input schema lists every valid operation. Prefer add_product_by_name for direct ordering, including ingredientChanges by spoken name; the server resolves menu and customization identifiers internally. For an ingredient removal from an existing signature-product line, prefer remove_ingredient_by_name with the exact lineId, productId, and spoken ingredientName. Use identifier-based add_product configuration or remove_ingredient only as advanced fallbacks after inspect_product_customization. Apply one change with operation or an ordered atomic set with operations. Pass startNewBag true only for the first bag mutation. Every later mutation must include the complete currentBag and exact expectedRevision or it fails with BAG_CONTEXT_REQUIRED instead of creating another bag. After success, render the exact returned proposedBag or pass it to search_menu when a filtered menu is the requested final surface.
create_checkout_link
ClaudeTurns a complete proposed bag into a checkout link to the bag in the Sweetgreen Order app, encoded as the public base64 orderToken, without rendering a widget. The link does not open automatically. The Sweetgreen Order app treats the token as untrusted input, revalidates it, and creates the real bag; payment and order placement happen there. Also accepts legacy flat bag fields from app calls.
find_delivery_location
ClaudeFinds the Sweetgreen restaurant that delivers to a confirmed delivery address, with the estimated delivery time and delivery fee, without rendering a widget. Accepts an optional addressLine2 for an apartment, suite, or unit. Returns status available with the delivering restaurant and the delivery address to order with, or status closed or unavailable.
find_location_candidates
ClaudeFinds open Sweetgreen pickup or Outpost restaurants near an approximate search center for a city, neighborhood, landmark, or ZIP code, without rendering a widget. Returns up to 25 candidates with status candidates, single_match when exactly one open restaurant serves the area, or needs_location when none does.
get_product_customization
ClaudeReturns current product details, included ingredients, modifier groups, choices, availability, and display pricing for one product at a restaurant and fulfillment method, for the ordering widget’s customization builder.
inspect_product_customization
ClaudeReturns exact included-ingredient, modifier-group, and canonical ingredient identifiers for one product, for identifier-based bag configuration and for resolving ingredient name collisions. Does not open the customization UI.
render_location_candidates
ClaudeRenders the compact location chooser for a fulfillment method and a list of Sweetgreen pickup or Outpost restaurant candidates.
render_proposed_bag
ClaudeRenders the proposed bag widget for a proposedBag that carries a valid receipt from a successful bag update, with an optional menu filter. Rejects a bag without a valid receipt.
report_widget_diagnostic
ClaudeRecords widget initialization and model-context failures reported by the ordering widget.
search_delivery_addresses
ClaudeLooks up a delivery street address as the user typed it, including the city or ZIP code when given, and returns up to five matching US street addresses without rendering a widget. Applies to delivery only, and searches are rate limited.
search_locations
ClaudeSearches Sweetgreen pickup and Outpost restaurants for the ordering widget by restaurant name, by latitude, longitude, and radius, or by the host’s coarse location hint when no search arguments are given.
update_proposed_bag
ClaudeCreates or updates the complete client-owned proposed bag without rendering a widget. Its input schema lists every operation: adding a product by name with ingredient changes by spoken name, removing an ingredient by name, identifier-based configuration, quantity changes, and removals, applied singly or as an ordered atomic set. The server resolves menu and customization identifiers. Changes to an existing bag require the complete currentBag and its exact expectedRevision; without them the update fails with BAG_CONTEXT_REQUIRED. Returns the updated proposedBag with a receipt.