When the user wants to browse available years, makes, models, or trims (dropdowns, "which years was X sold"), use the ymm-options skill (/v1/ymm-options) instead of this specs lookup.
When the user asks about a vehicle by year, make, and model (without a VIN):
- Make an HTTP GET request to the CarsXE YMM API:
Only includeGET https://api.carsxe.com/v1/ymm?key={CARSXE_API_KEY}&year={YEAR}&make={MAKE}&model={MODEL}&source=codex_plugin[&trim={TRIM}]trimif the user specified one. - Present available trims, engine options, features, and specs.
- If the user didn't specify a trim, list all available trims for that year/make/model.
- If the API key is missing, tell the user to set the
CARSXE_API_KEYenvironment variable (see AGENTS.md).