68 lines
1.7 KiB
YAML
68 lines
1.7 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {
|
|
"name": "Fleet Ops Operations Summary",
|
|
"slug": "mobilityops-operations-summary"
|
|
},
|
|
"spec": {
|
|
"canonicalName": "mobilityops.operations.summary",
|
|
"version": "1.0.0",
|
|
"connectorType": "mobilityops",
|
|
"description": "Read the Fleet Ops fleet-wide operational metrics summary.",
|
|
"riskClass": "R1",
|
|
"readOnly": true,
|
|
"idempotent": true,
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
},
|
|
"outputSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"tenant": {
|
|
"type": "string",
|
|
"maxLength": 200
|
|
},
|
|
"metrics": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"available": {"type": "integer"},
|
|
"rented": {"type": "integer"},
|
|
"cleaning": {"type": "integer"},
|
|
"maintenance": {"type": "integer"},
|
|
"blocked": {"type": "integer"},
|
|
"openQualityIssues": {"type": "integer"},
|
|
"pendingOrFailedWorkflows": {"type": "integer"}
|
|
},
|
|
"required": [
|
|
"available",
|
|
"rented",
|
|
"cleaning",
|
|
"maintenance",
|
|
"blocked",
|
|
"openQualityIssues",
|
|
"pendingOrFailedWorkflows"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"tenant",
|
|
"metrics"
|
|
]
|
|
},
|
|
"limits": {
|
|
"timeoutMs": 10000,
|
|
"maxOutputBytes": 65536,
|
|
"maxItems": 1
|
|
},
|
|
"redactionProfile": "metadata",
|
|
"requiredScopes": [
|
|
"project:{project}:read"
|
|
]
|
|
}
|
|
}
|