{"ok":true,"site":{"host":"carsa.co.uk","url":"https://www.carsa.co.uk/used-cars","type":"live","desc":"Buy or finance used cars online from top brands like Audi, BMW, Ford & more. Part exchange & bespoke finance deals. Get quality used cars online at Carsa.","tools":[{"name":"list-car-filters","kind":"answer","impl":"imperative","description":"Lists the values the used-car search can filter by, with how many cars have each: makes, models (for one make if given), fuel types, body types, gearboxes, colours, drive types, Carsa store locations, current offers and sort orders, plus the price and mileage range. Use it before search-cars to pick values that exist. Optional argument: make, to list only that make's models.","title":"List what is in stock","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"make":{"type":"string","description":"A make whose models to list, e.g. \"Ford\". Omit for every model."}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/used-cars","pages":["/used-cars"]},{"name":"search-cars","kind":"answer","impl":"imperative","description":"Searches Carsa's used cars and shows the results on this page, replacing the filters already set (to refine a search, send the earlier filters again with the new one). Every argument is optional: make, model, fuel_type, body_type, colour, transmission, drive_type, location and promotions are lists where any value matches; doors and seats are lists of numbers; minPrice/maxPrice (total price in pounds), minMonthlyPrice/maxMonthlyPrice, minMileage/maxMileage and minYear/maxYear are bounds; availableOnly leaves out reserved and not-yet-ready cars; sort orders the results; limit (default 10, at most 24) is how many cars to answer with. Answers the total that match and the first cars, each with reg, price, monthly price, mileage, year, location, status and a link. Values must exist in stock; list-car-filters lists them.","title":"Search used cars","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"make":{"type":"array","items":{"type":"string"},"description":"Makes, e.g. [\"Ford\", \"Kia\"]. Any of them matches."},"model":{"type":"array","items":{"type":"string"},"description":"Models, e.g. [\"Fiesta\"]. Best with make, since a model name can exist under two makes."},"fuel_type":{"type":"array","items":{"type":"string"},"description":"Fuel types, e.g. [\"Petrol\", \"Electric\"]."},"body_type":{"type":"array","items":{"type":"string"},"description":"Body types, e.g. [\"SUV\", \"Hatchback\"]."},"colour":{"type":"array","items":{"type":"string"},"description":"Colours, e.g. [\"Black\"]."},"transmission":{"type":"array","items":{"type":"string"},"description":"Gearbox, e.g. [\"Automatic\"] or [\"Manual\"]."},"drive_type":{"type":"array","items":{"type":"string"},"description":"Drive types, as listed by list-car-filters."},"location":{"type":"array","items":{"type":"string"},"description":"Carsa stores the car is at, e.g. [\"Bolton\"]. Use list-car-filters for the names."},"promotions":{"type":"array","items":{"type":"string"},"description":"Offers, e.g. [\"Reduced price\"]. Use list-car-filters for the current ones."},"doors":{"type":"array","items":{"type":"number"},"description":"Door counts, e.g. [5]."},"seats":{"type":"array","items":{"type":"number"},"description":"Seat counts, e.g. [7]."},"minPrice":{"type":"number","description":"Lowest total price in pounds, as shown on the car."},"maxPrice":{"type":"number","description":"Highest total price in pounds, as shown on the car."},"minMonthlyPrice":{"type":"number","description":"Lowest monthly finance price in pounds."},"maxMonthlyPrice":{"type":"number","description":"Highest monthly finance price in pounds."},"minMileage":{"type":"number","description":"Lowest mileage."},"maxMileage":{"type":"number","description":"Highest mileage."},"minYear":{"type":"number","description":"Oldest registration year, e.g. 2020."},"maxYear":{"type":"number","description":"Newest registration year."},"availableOnly":{"type":"boolean","description":"true for cars that can be bought now: leaves out reserved cars and ones still being prepared."},"sort":{"type":"string","enum":["dated-added-desc","reduced-amount-true-desc","full-price-asc","full-price-desc","monthly-price-asc","monthly-price-desc","mileage-asc","mileage-desc","registration-year-desc","registration-year-asc"],"description":"Order of results. dated-added-desc = Recently added; reduced-amount-true-desc = Price drop (high to low); full-price-asc = Full price (low to high); full-price-desc = Full price (high to low); monthly-price-asc = Monthly price (low to high); monthly-price-desc = Monthly price (high to low); mileage-asc = Mileage (low to high); mileage-desc = Mileage (high to low); registration-year-desc = Age (newest to oldest); registration-year-asc = Age (oldest to newest)."},"limit":{"type":"number","description":"How many cars to answer with, 1 to 24. Default 10. The page shows them all either way."}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/used-cars","pages":["/used-cars"]},{"name":"get-car","kind":"answer","impl":"imperative","description":"Gets one used car's details by registration (argument reg): price, monthly finance, mileage, year, engine, doors, seats, owners, location, status, offers and a link to its page.","title":"Get a car's details","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"reg":{"type":"string","description":"The car's registration, e.g. \"AB12 CDE\" (spaces optional)."}},"required":["reg"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/used-cars","pages":["/used-cars"]},{"name":"open-car","kind":"act","impl":"imperative","description":"Opens one used car's own page on carsa.co.uk, by registration (argument reg), for photos, full spec, finance and booking. This leaves the search page.","title":"Open a car's page","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"reg":{"type":"string","description":"The car's registration, e.g. \"AB12 CDE\" (spaces optional)."}},"required":["reg"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/used-cars","pages":["/used-cars"]},{"name":"start-test-drive","kind":"act","impl":"imperative","description":"Opens the test drive booking for one used car on quote.carsa.co.uk, by registration (argument reg), as the car page's Book a test drive button does. Optional argument: postcode, the person's UK postcode, to skip straight to choosing a store. The booking page has its own tools for the store, time and contact details; the person pays there. This leaves the search page.","title":"Start booking a test drive","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"reg":{"type":"string","description":"The car's registration, e.g. \"AB12 CDE\" (spaces optional)."},"postcode":{"type":"string","description":"The person's UK postcode, e.g. \"BL1 4QZ\"."}},"required":["reg"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/used-cars","pages":["/used-cars"]},{"name":"clear-car-filters","kind":"act","impl":"imperative","description":"Clears every filter on this page and puts the default order back, showing all cars again. Takes no arguments.","title":"Clear the search","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/used-cars","pages":["/used-cars"]}],"category":"Commerce","favicon":"/favicons/carsa.co.uk.png","apiSurface":"spec","toolCount":6}}