{"openapi":"3.1.0","info":{"title":"Cartrack (BYOK) API","version":"0.1.0","description":"Cartrack (BYOK) lets an AI assistant read your own Cartrack data through the Cartrack API with a key you supply (Cartrack Fleet API username (the main account's user name)). Read-only: 12 tools (list_vehicles, get_vehicle_status, list_trips, get_vehicle_odometer, list_fuel_fills, list_vehicle_events, list_event_types, list_geofences, list_pois, list_fleet_reminders, get_ev_charge_levels,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-cartrack.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-cartrack/docs"},"termsOfService":"https://connectorbay.com/byok-cartrack/terms"},"servers":[{"url":"https://byok-cartrack.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-cartrack/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_vehicles":{"post":{"operationId":"list_vehicles","summary":"List vehicles with registration, name, make, model, year, colour, chassis number, type, fuel capacity, max speed, camera","description":"List vehicles with registration, name, make, model, year, colour, chassis number, type, fuel capacity, max speed, camera and maintenance flags and which fuel/EV sensors are fitted. Page-numbered. Use for \"Which vehicles are in my Cartrack fleet\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Two-letter country code of the Cartrack region hosting the account (fleetapi-<code>.cartrack.com), for example za. Kenya (ke) and Saudi Arabia (sa) use another domain and are not supported.","enum":["au","bw","es","hk","id","kh","me","mw","my","mz","na","ng","nz","ph","pl","pt","rw","sg","sz","th","tz","vn","za","zm","zw"],"title":"Region","type":"string"},"registration":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Only the vehicle with this registration (case-insensitive, partial match allowed).","title":"Registration"},"manufacturer":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only this make (case-insensitive, partial match allowed).","title":"Manufacturer"},"model_year":{"anyOf":[{"maximum":2026,"minimum":1925,"type":"integer"},{"type":"null"}],"default":null,"description":"Only this model year.","title":"Model Year"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Items per page (1 to 1000).","title":"Limit"}},"required":["region"],"title":"list_vehiclesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_vehicle_status":{"post":{"operationId":"get_vehicle_status","summary":"Get the latest snapshot per vehicle: position (latitude, longitude, place name), speed, bearing, ignition, idling, odome","description":"Get the latest snapshot per vehicle: position (latitude, longitude, place name), speed, bearing, ignition, idling, odometer in meters, engine hours clock, fuel level and EV battery. Driver details are not returned. Rate limit 60 requests per minute. Use for \"Where is each Cartrack vehicle right now and is its engine on\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Two-letter country code of the Cartrack region hosting the account (fleetapi-<code>.cartrack.com), for example za. Kenya (ke) and Saudi Arabia (sa) use another domain and are not supported.","enum":["au","bw","es","hk","id","kh","me","mw","my","mz","na","ng","nz","ph","pl","pt","rw","sg","sz","th","tz","vn","za","zm","zw"],"title":"Region","type":"string"},"registration":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Only the vehicle with this registration (case-insensitive, partial match allowed).","title":"Registration"},"ignition":{"anyOf":[{"enum":["true","false"],"type":"string"},{"type":"null"}],"default":null,"description":"Only vehicles with ignition on (true) or off (false).","title":"Ignition"},"odometer_in_km":{"anyOf":[{"enum":["true","false"],"type":"string"},{"type":"null"}],"default":null,"description":"true to return the odometer in kilometers instead of meters.","title":"Odometer In Km"},"engine_type":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Only this engine type, for example electric or combustion.","title":"Engine Type"}},"required":["region"],"title":"get_vehicle_statusArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_trips":{"post":{"operationId":"list_trips","summary":"List trips in a period (max 31 days): vehicle, start and end time, duration, distance, odometer, geofence names, speedin","description":"List trips in a period (max 31 days): vehicle, start and end time, duration, distance, odometer, geofence names, speeding, harsh braking, cornering and acceleration counts, idle time and trip type. Addresses, coordinates and driver names are not returned. Private trips are excluded. Use for \"What trips did my Cartrack vehicles make last week\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Two-letter country code of the Cartrack region hosting the account (fleetapi-<code>.cartrack.com), for example za. Kenya (ke) and Saudi Arabia (sa) use another domain and are not supported.","enum":["au","bw","es","hk","id","kh","me","mw","my","mz","na","ng","nz","ph","pl","pt","rw","sg","sz","th","tz","vn","za","zm","zw"],"title":"Region","type":"string"},"start_timestamp":{"description":"Start of the period, 'YYYY-MM-DD HH:MM:SS' (account time zone).","maxLength":19,"title":"Start Timestamp","type":"string"},"end_timestamp":{"description":"End of the period, 'YYYY-MM-DD HH:MM:SS'. At most 31 days after the start.","maxLength":19,"title":"End Timestamp","type":"string"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Items per page (1 to 1000).","title":"Limit"}},"required":["region","start_timestamp","end_timestamp"],"title":"list_tripsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_vehicle_odometer":{"post":{"operationId":"get_vehicle_odometer","summary":"Get a vehicle's odometer for a period: start and end reading, distance travelled in meters, whether the odometer was res","description":"Get a vehicle's odometer for a period: start and end reading, distance travelled in meters, whether the odometer was reset, and the current reading. Use for \"How many kilometers did Cartrack vehicle CA123456 drive last month\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Two-letter country code of the Cartrack region hosting the account (fleetapi-<code>.cartrack.com), for example za. Kenya (ke) and Saudi Arabia (sa) use another domain and are not supported.","enum":["au","bw","es","hk","id","kh","me","mw","my","mz","na","ng","nz","ph","pl","pt","rw","sg","sz","th","tz","vn","za","zm","zw"],"title":"Region","type":"string"},"registration":{"description":"Vehicle registration (plate) exactly as shown by list_vehicles.","maxLength":30,"title":"Registration","type":"string"},"start_timestamp":{"description":"Start of the period, 'YYYY-MM-DD HH:MM:SS' (account time zone).","maxLength":19,"title":"Start Timestamp","type":"string"},"end_timestamp":{"description":"End of the period, 'YYYY-MM-DD HH:MM:SS'. .","maxLength":19,"title":"End Timestamp","type":"string"}},"required":["region","registration","start_timestamp","end_timestamp"],"title":"get_vehicle_odometerArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_fuel_fills":{"post":{"operationId":"list_fuel_fills","summary":"List detected fuel fills of all vehicles in a period of at most 24 hours: vehicle, litres, time, odometer and place. Pag","description":"List detected fuel fills of all vehicles in a period of at most 24 hours: vehicle, litres, time, odometer and place. Page-numbered. Use for \"Which Cartrack vehicles refuelled yesterday and how much\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Two-letter country code of the Cartrack region hosting the account (fleetapi-<code>.cartrack.com), for example za. Kenya (ke) and Saudi Arabia (sa) use another domain and are not supported.","enum":["au","bw","es","hk","id","kh","me","mw","my","mz","na","ng","nz","ph","pl","pt","rw","sg","sz","th","tz","vn","za","zm","zw"],"title":"Region","type":"string"},"start_timestamp":{"description":"Start of the period, 'YYYY-MM-DD HH:MM:SS' (account time zone).","maxLength":19,"title":"Start Timestamp","type":"string"},"end_timestamp":{"description":"End of the period, 'YYYY-MM-DD HH:MM:SS'. At most 24 hours after the start.","maxLength":19,"title":"End Timestamp","type":"string"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Items per page (1 to 1000).","title":"Limit"}},"required":["region","start_timestamp","end_timestamp"],"title":"list_fuel_fillsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_vehicle_events":{"post":{"operationId":"list_vehicle_events","summary":"List events reported by vehicles in a period (ignition, harsh braking, speeding, geofence and similar): vehicle, event d","description":"List events reported by vehicles in a period (ignition, harsh braking, speeding, geofence and similar): vehicle, event description, time, speed, odometer and ignition. Coordinates and driver ids are not returned. Rate limit 60 requests per minute. Use for \"Which harsh braking events did my Cartrack fleet have yesterday\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Two-letter country code of the Cartrack region hosting the account (fleetapi-<code>.cartrack.com), for example za. Kenya (ke) and Saudi Arabia (sa) use another domain and are not supported.","enum":["au","bw","es","hk","id","kh","me","mw","my","mz","na","ng","nz","ph","pl","pt","rw","sg","sz","th","tz","vn","za","zm","zw"],"title":"Region","type":"string"},"start_timestamp":{"description":"Start of the period, 'YYYY-MM-DD HH:MM:SS' (account time zone).","maxLength":19,"title":"Start Timestamp","type":"string"},"end_timestamp":{"description":"End of the period, 'YYYY-MM-DD HH:MM:SS'. .","maxLength":19,"title":"End Timestamp","type":"string"},"registration":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Only the vehicle with this registration (case-insensitive, partial match allowed).","title":"Registration"},"event_type_id":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only this event type id (see list_event_types).","title":"Event Type Id"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Items per page (1 to 1000).","title":"Limit"}},"required":["region","start_timestamp","end_timestamp"],"title":"list_vehicle_eventsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_event_types":{"post":{"operationId":"list_event_types","summary":"List the vehicle event types (id and description) that appear in list_vehicle_events. Use for \"What kinds of vehicle eve","description":"List the vehicle event types (id and description) that appear in list_vehicle_events. Use for \"What kinds of vehicle events does Cartrack report\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Two-letter country code of the Cartrack region hosting the account (fleetapi-<code>.cartrack.com), for example za. Kenya (ke) and Saudi Arabia (sa) use another domain and are not supported.","enum":["au","bw","es","hk","id","kh","me","mw","my","mz","na","ng","nz","ph","pl","pt","rw","sg","sz","th","tz","vn","za","zm","zw"],"title":"Region","type":"string"}},"required":["region"],"title":"list_event_typesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_geofences":{"post":{"operationId":"list_geofences","summary":"List geofences with name, description, colour, place description and whether a toll zone. Polygon shapes are not returne","description":"List geofences with name, description, colour, place description and whether a toll zone. Polygon shapes are not returned. Page-numbered. Use for \"What geofences are set up in Cartrack\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Two-letter country code of the Cartrack region hosting the account (fleetapi-<code>.cartrack.com), for example za. Kenya (ke) and Saudi Arabia (sa) use another domain and are not supported.","enum":["au","bw","es","hk","id","kh","me","mw","my","mz","na","ng","nz","ph","pl","pt","rw","sg","sz","th","tz","vn","za","zm","zw"],"title":"Region","type":"string"},"name":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only geofences whose name contains this text.","title":"Name"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Items per page (1 to 1000).","title":"Limit"}},"required":["region"],"title":"list_geofencesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_pois":{"post":{"operationId":"list_pois","summary":"List saved points of interest with name, description, coordinates, radius and place description. Page-numbered. Use for ","description":"List saved points of interest with name, description, coordinates, radius and place description. Page-numbered. Use for \"Which points of interest are saved in Cartrack\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Two-letter country code of the Cartrack region hosting the account (fleetapi-<code>.cartrack.com), for example za. Kenya (ke) and Saudi Arabia (sa) use another domain and are not supported.","enum":["au","bw","es","hk","id","kh","me","mw","my","mz","na","ng","nz","ph","pl","pt","rw","sg","sz","th","tz","vn","za","zm","zw"],"title":"Region","type":"string"},"name":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only POIs with this name.","title":"Name"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Items per page (1 to 1000).","title":"Limit"}},"required":["region"],"title":"list_poisArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_fleet_reminders":{"post":{"operationId":"list_fleet_reminders","summary":"List service, licence and other reminders per vehicle (due dates and distances as the account defines them). Use for \"Wh","description":"List service, licence and other reminders per vehicle (due dates and distances as the account defines them). Use for \"Which vehicles in Cartrack have reminders coming due\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Two-letter country code of the Cartrack region hosting the account (fleetapi-<code>.cartrack.com), for example za. Kenya (ke) and Saudi Arabia (sa) use another domain and are not supported.","enum":["au","bw","es","hk","id","kh","me","mw","my","mz","na","ng","nz","ph","pl","pt","rw","sg","sz","th","tz","vn","za","zm","zw"],"title":"Region","type":"string"},"registration":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Only the vehicle with this registration (case-insensitive, partial match allowed).","title":"Registration"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Items per page (1 to 1000).","title":"Limit"}},"required":["region"],"title":"list_fleet_remindersArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_ev_charge_levels":{"post":{"operationId":"get_ev_charge_levels","summary":"Get the latest battery state of charge of electric vehicles. Use for \"What is the battery level of my Cartrack electric ","description":"Get the latest battery state of charge of electric vehicles. Use for \"What is the battery level of my Cartrack electric vehicles\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Two-letter country code of the Cartrack region hosting the account (fleetapi-<code>.cartrack.com), for example za. Kenya (ke) and Saudi Arabia (sa) use another domain and are not supported.","enum":["au","bw","es","hk","id","kh","me","mw","my","mz","na","ng","nz","ph","pl","pt","rw","sg","sz","th","tz","vn","za","zm","zw"],"title":"Region","type":"string"},"registration":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Only this registration.","title":"Registration"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Items per page (1 to 100).","title":"Limit"}},"required":["region"],"title":"get_ev_charge_levelsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_maintenance_entries":{"post":{"operationId":"list_maintenance_entries","summary":"List MiFleet maintenance records (needs the MiFleet module): date, type, supplier, description, vehicle, cost and odomet","description":"List MiFleet maintenance records (needs the MiFleet module): date, type, supplier, description, vehicle, cost and odometer. Driver names are not returned. Use for \"What maintenance did my Cartrack MiFleet vehicles have this year\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"region":{"description":"Two-letter country code of the Cartrack region hosting the account (fleetapi-<code>.cartrack.com), for example za. Kenya (ke) and Saudi Arabia (sa) use another domain and are not supported.","enum":["au","bw","es","hk","id","kh","me","mw","my","mz","na","ng","nz","ph","pl","pt","rw","sg","sz","th","tz","vn","za","zm","zw"],"title":"Region","type":"string"},"date_from":{"anyOf":[{"maxLength":19,"type":"string"},{"type":"null"}],"default":null,"description":"Only entries on or after this date-time, 'YYYY-MM-DD HH:MM:SS'.","title":"Date From"},"date_to":{"anyOf":[{"maxLength":19,"type":"string"},{"type":"null"}],"default":null,"description":"Only entries on or before this date-time.","title":"Date To"},"registration":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"Only the vehicle with this registration (case-insensitive, partial match allowed).","title":"Registration"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":25,"description":"Items per page (1 to 1000).","title":"Limit"}},"required":["region"],"title":"list_maintenance_entriesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}