How to Use Walmart search suggestions in Gemini CLI
Returns the shopping queries Walmart suggests for a partial term. Use it to turn a broad idea into more specific searches before looking for products.
Prompts to try with Walmart search suggestions in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use Walmart search suggestions for 'coffee' and add the returned shopping phrases to my project's search examples.
Use Walmart search suggestions to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Walmart search suggestions and tell me what changed since last week.
Check Walmart search suggestions and summarize what you find in three bullet points.
Pull the newest data from Walmart search suggestions and give me the result as a table.
How to set up Walmart search suggestions in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI 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 Walmart search suggestions
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": "walmart-com/products/suggest", "input": { "term": "<term>" } }'
Then paste one of the prompts above: Gemini CLI finds Walmart search suggestions on Spiral, shows the price and runs it.
Walmart search suggestions providers and prices
Spiral runs Walmart search suggestions through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Number of | 1 to 20 | 8 | Maximum number of suggestions requested. |
Every API field of Walmart.com · Suggest is on its tool page: open its card above.
What can you do with Walmart search suggestions in Gemini CLI?
Build a Walmart shopping comparison in your project using product discovery, item records, customer feedback, or store information. Keep the source context visible, including seller identity and review provenance when available.
Compare coffee makers
Expand coffee maker search terms, find products through search and kitchen categories, inspect individual listings, and compare customer feedback.
Plan a dorm shopping trip
Turn dorm essentials into specific searches, browse relevant categories, inspect shortlisted products and reviews, and collect details for the Walmart location you plan to visit.
Build a holiday toy shortlist
Use Walmart's suggested queries and toy categories to find candidates, then compare individual product records and customer reviews.
Find better shopping phrases
Expand broad terms such as storage or headphones into Walmart's suggested queries, then compare the products each search returns.
More on Walmart search suggestions and Gemini CLI
Overview
Walmart search suggestions in other agents
Questions about Walmart search suggestions in Gemini CLI
Can Gemini CLI use Walmart search suggestions?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Walmart search suggestions like any built-in tool.
How much does Walmart search suggestions cost in Gemini CLI?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use Walmart search suggestions in Gemini CLI?
No. Spiral runs Walmart search suggestions on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Walmart search suggestions in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while Walmart search suggestions runs?
Walmart search suggestions runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
Which Walmart market does this data describe?
Walmart.com operates a U.S.-based marketplace. Its listings include third-party sellers, so a product appearing on Walmart.com does not establish that Walmart is the seller.
How can I identify who sells an item?
Walmart identifies the seller with a Sold by or Sold and shipped by label. Check that label when comparing offers for the same product.
Does Walmart verify every product specification?
Walmart says manufacturers, suppliers, and others provide product information, and that Walmart has not verified it. A specification displayed on a listing is therefore a published product claim.
Are all Walmart reviews originally posted on Walmart.com?
Walmart's Review Syndication program lets brands import reviews collected on their own websites. Feedback displayed on Walmart.com can therefore originate elsewhere.
Can Walmart reviews come from compensated reviewers?
Yes. Walmart says reviews collected through its reviewer program display an Incentivized Review badge.
Start using Walmart search suggestions in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


