Files
ITWorx_MCP_Hub-Public/catalog/tools/mobilityops-vehicle-get.yaml
T

68 lines
1.8 KiB
YAML

{
"apiVersion": "hub.example.com/v1alpha1",
"kind": "ToolManifest",
"metadata": {
"name": "Fleet Ops Vehicle Get",
"slug": "mobilityops-vehicle-get"
},
"spec": {
"canonicalName": "mobilityops.vehicle.get",
"version": "1.0.0",
"connectorType": "mobilityops",
"description": "Read narrow, read-only status details for one Fleet Ops vehicle by its public reference.",
"riskClass": "R1",
"readOnly": true,
"idempotent": true,
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"vehicleRef": {
"type": "string",
"pattern": "^[A-Za-z0-9][A-Za-z0-9-]{0,63}$"
}
},
"required": [
"vehicleRef"
]
},
"outputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"publicRef": {"type": "string", "maxLength": 64},
"make": {"type": "string", "maxLength": 120},
"model": {"type": "string", "maxLength": 120},
"modelYear": {"type": "integer"},
"location": {"type": "string", "maxLength": 200},
"operationalStatus": {"type": "string", "maxLength": 64},
"odometerKm": {"type": "integer"},
"nextServiceKm": {"type": "integer"},
"openQualityIssueCount": {"type": "integer"},
"currentBookingRef": {"type": ["string", "null"], "maxLength": 64}
},
"required": [
"publicRef",
"make",
"model",
"modelYear",
"location",
"operationalStatus",
"odometerKm",
"nextServiceKm",
"openQualityIssueCount",
"currentBookingRef"
]
},
"limits": {
"timeoutMs": 10000,
"maxOutputBytes": 65536,
"maxItems": 1
},
"redactionProfile": "metadata",
"requiredScopes": [
"project:{project}:read"
]
}
}