Vehicles

Get a vehicle

Returns a vehicle by its identifier: license plate, seats, payload, next inspection date, collection and whether it appears in the planner.

Tool
filmo_vehicles_get
Access: Read

Result

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "filmo_vehicles_get",
    "arguments": {
      "vehicleId": "vehi_8f2a1c"
    }
  }
}

generated from the schema

It does NOT include the cost per kilometer: crossed with the duration of a service it gives what moving the equipment costs the company, and internal costs are excluded from the public edge by design.

Arguments

vehicleIdstringRequired

Vehicle identifier.

Limits: min length 1

Result

On success the result carries structuredContent with data and meta. These are the attributes of data.

Show the attributes of data
idstring

Unique vehicle identifier.

namestring

Vehicle name.

statusstring

Operational status: active (available), maintenance (in the workshop) or inactive (out of service).

Available options: active, maintenance, inactive

registrationNumberstring | null

Registration number; null if not recorded.

seatsnumber | null

Seats, including the driver seat; null if not recorded.

payloadKgnumber | null

Payload in kilograms; null if not recorded.

inspectionDatestring<date-time> | null

Date of the next technical inspection in ISO 8601 UTC; null if not recorded.

collectionIdstring | null

Identifier of the collection it belongs to; null if it is in none.

collectionNamestring | null

Collection path; null if not applicable.

showInPlannerboolean

true if it appears in the planner of the account.

createdAtstring<date-time> | null

Creation date in ISO 8601 UTC; null if not recorded.

updatedAtstring<date-time> | null

Last modification date in ISO 8601 UTC; null if not recorded.

An error is a result with isError: true and the problem in content[0].text; there is no structuredContent. See Errors.

The same operation by REST

This tool runs GET /api/v1/vehicles/{vehicleId}.

  • Vehicles

    Get a vehicle

    Returns a vehicle by its identifier: license plate, seats, payload, next inspection date, collection and whether it appears in the planner.

  • Guides

    Safe writes

    An assistant that can write can also write the wrong thing. Decide which tools need a person, retry without duplicating, and know what a write sets in motion.

  • Guides

    Errors

    A tool error is a result with isError: true and the problem in the first text block. Branch on its code.