How to Use DoorDash item options in opencode
Get the customization choices for one restaurant item, such as sizes, crusts, and toppings. Use this when a menu card does not explain the available selections.
Prompts to try with DoorDash item options in opencode
Copy an example into opencode, or ask in your own words.
Use DoorDash item options for a cheese pizza at a Pizza Hut branch in Seattle and render the returned customization choices in this project's item detail view.
Use DoorDash item options to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from DoorDash item options and tell me what changed since last week.
Check DoorDash item options and summarize what you find in three bullet points.
Pull the newest data from DoorDash item options and give me the result as a table.
How to set up DoorDash item options in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run DoorDash item options
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "doordash-com/products/options", "input": { "item_id": "<item_id>", "store_id": "<store_id>" } }'
Then paste one of the prompts above: opencode finds DoorDash item options on Spiral, shows the price and runs it.
DoorDash item options providers and prices
Spiral runs DoorDash item options through Alexandria. Open a card for today's price, with every fee included.
What can you do with DoorDash item options in opencode?
Build a DoorDash comparison table that separates restaurant menus from grocery selections. Use item descriptions, categories, customization choices, promotions, and product feedback to make the differences inspectable.
Compare restaurant ordering choices
Find nearby restaurants, inspect their menu sections and dishes, then examine customization choices and available promotions. Build a shortlist that explains what someone can actually select.
Check a restaurant's menu presentation
Locate a restaurant branch and review its category names, item descriptions, customization choices, and promotional offers. Identify confusing names or missing descriptions for a merchant to review.
Understand a restaurant promotion
Find a restaurant, read its offers, and inspect the eligible dishes within their menu sections. Check the item details and customization choices before explaining how an offer relates to the meal.
Compare a chain across nearby branches
Find several branches of a restaurant chain and compare their menu sections, dishes, item descriptions, customization choices, and promotions. Report differences for the specific branches checked.
More on DoorDash item options and opencode
Overview
DoorDash item options in other agents
Questions about DoorDash item options in opencode
Can opencode use DoorDash item options?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run DoorDash item options like any built-in tool.
How much does DoorDash item options cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use DoorDash item options in opencode?
No. Spiral runs DoorDash item options on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up DoorDash item options in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while DoorDash item options runs?
DoorDash item options runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does the location change which DoorDash stores I can find?
Yes. DoorDash uses the selected address to find nearby delivery options, so a city-wide result is not a substitute for checking a particular location.
Does DoorDash show everything a grocery store carries?
DoorDash describes its grocery and convenience selection as curated. Even a listed item can be out of stock when the shopper reaches the store.
How quickly can DoorDash restaurant menus change?
DoorDash says updates from a well-functioning POS integration typically appear within minutes. That describes how merchants update DoorDash, not a guaranteed refresh interval for retrieved data.
Can a restaurant show different menus during the day?
Yes. DoorDash lets restaurants assign separate hours to breakfast, lunch, and dinner menus, so the menu shown can depend on the time of day.
What conditions can a DoorDash promotion include?
DoorDash promotions can include a minimum order subtotal and a maximum discount. Item offers can include buy-one-get-one deals or free or discounted items.
Start using DoorDash item options in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


