How to Use Hertz Car Sales inventory search in opencode
Returns matching Hertz vehicle listings, including mileage and store locations, with pagination. Use it to build a shortlist across locations before inspecting individual vehicles.
Prompts to try with Hertz Car Sales inventory search in opencode
Copy an example into opencode, or ask in your own words.
Use Hertz Car Sales inventory search to fetch Toyota Camry listings in California, then populate this project's comparison table with mileage and location.
Use Hertz Car Sales inventory search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Hertz Car Sales inventory search and tell me what changed since last week.
Check Hertz Car Sales inventory search and summarize what you find in three bullet points.
Pull the newest data from Hertz Car Sales inventory search and give me the result as a table.
How to set up Hertz Car Sales inventory search 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 Hertz Car Sales inventory search
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": "hertzcarsales-com/vehicles/search_inventory", "input": { "zip": "<zip>" } }'
Then paste one of the prompts above: opencode finds Hertz Car Sales inventory search on Spiral, shows the price and runs it.
Hertz Car Sales inventory search providers and prices
Spiral runs Hertz Car Sales inventory search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sort | price_asc, price_desc, year_asc, year_desc, odometer_asc, odometer_desc, or newest | Sort order, passed to the site as its own sort expression (e.g. internetPrice asc). The site's store/make boost order can still interleave rows; without sort the site's default order applies. | |
| Year max | 1980 to 2100 | Model-year bounds, inclusive; sent as the list of years in the range (the API rejects a min-max year range). | |
| Year min | 1980 to 2100 | year_min | |
| Condition | used or rent2buy | Which inventory: used (retail used cars, default) or rent2buy (Hertz Rent2Buy rental fleet). | |
| Page size | 1 to 48 | Rows per page (default 24). The site caps a page at 48. | |
| Price max | a number from 0 | Internet price bounds in whole US dollars, inclusive. | |
| Price min | a number from 0 | price_min | |
| Odometer max | a number from 0 | Mileage bounds in miles, inclusive. | |
| Odometer min | a number from 0 | odometer_min | |
| Radius miles | 1 to 5000 | Search radius in miles around zip (geoRadius); needs zip. The site's own menu offers 5, 25, 50, 100, 200, 250, 500 and 1000. |
Every API field of Hertz Car Sales · Search inventory is on its tool page: open its card above.
What can you do with Hertz Car Sales inventory search in opencode?
Build a Hertz vehicle comparison view with inventory matches, selection counts, specifications, and availability checks. Use these results to support a purchasing shortlist across US locations.
Replace a small business fleet vehicle
Start with a Toyota Camry request, inspect available choices and counts, search the relevant locations, compare exact specifications, and recheck the finalists' Buy Online status.
Find vehicles for an EV pilot
Explore Chevrolet Bolt inventory, identify choices with stock, collect matching listings, inspect each candidate's specifications, and check availability before proposing a pilot shortlist.
Research a rental business acquisition
Turn a Nissan Rogue request into candidates, review stock counts, compare listings and exact specifications, and verify which finalists have Buy Online availability.
Source cars across several states
Explore Toyota Corolla matches, compare the available selections in California and Arizona, inspect individual listings, and confirm the shortlist's availability for a business purchasing review.
Compare exact vehicles
Build a side-by-side comparison of listed mileage, location, and vehicle specifications, then check the Buy Online status of the preferred candidates.
Revise a search with few matches
Use suggestions and filter counts to find nearby model choices, then search those choices instead of repeatedly requesting a combination with little stock.
More on Hertz Car Sales inventory search and opencode
Overview
Hertz Car Sales inventory search in other agents
Questions about Hertz Car Sales inventory search in opencode
Can opencode use Hertz Car Sales inventory search?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Hertz Car Sales inventory search like any built-in tool.
How much does Hertz Car Sales inventory search 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 Hertz Car Sales inventory search in opencode?
No. Spiral runs Hertz Car Sales inventory search on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Hertz Car Sales inventory search in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Hertz Car Sales inventory search runs?
Hertz Car Sales inventory search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Which country does this inventory cover?
This is Hertz's US retail inventory. Hertz's 2025 annual report describes Hertz Car Sales locations throughout the US.
Does this show every vehicle Hertz sells?
No. Hertz also sells through dealer direct wholesale and auctions, so retail inventory is only one of its disposal channels.
Is Rent2Buy offered everywhere in the US?
Hertz's 2025 annual report says Rent2Buy was offered in more than 25 states. That dated statement does not establish availability in every state today.
How current is the mileage on Rent2Buy listings?
An October 2026 review quoting Hertz's FAQ says online mileage reflects the previous rental return. The vehicle can accumulate more miles before pickup.
Does a Rent2Buy listing guarantee the car will be ready?
No. An October 2026 review quotes Hertz's warning that these are active rental vehicles and availability on time cannot be guaranteed.
Start using Hertz Car Sales inventory search 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


