Files
ITWorx_MCP_Hub-Public/catalog/tools/unraid-host-status.yaml
T

88 lines
1.9 KiB
YAML

{
"apiVersion": "hub.example.com/v1alpha1",
"kind": "ToolManifest",
"metadata": {
"name": "Unraid Host Status",
"slug": "unraid-host-status"
},
"spec": {
"canonicalName": "unraid.host.status",
"version": "1.0.0",
"connectorType": "unraid",
"description": "Return bounded host identity, uptime and resource summary from the read broker.",
"riskClass": "R1",
"readOnly": true,
"idempotent": true,
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {},
"required": []
},
"outputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"hostRef": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,127}$"
},
"hostname": {
"type": "string",
"maxLength": 255
},
"uptimeSeconds": {
"type": "integer",
"minimum": 0
},
"cpuPercent": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 100
},
"memoryUsedBytes": {
"type": "integer",
"minimum": 0
},
"memoryTotalBytes": {
"type": "integer",
"minimum": 0
},
"dockerVersion": {
"type": [
"string",
"null"
],
"maxLength": 100
},
"generatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"hostRef",
"hostname",
"uptimeSeconds",
"cpuPercent",
"memoryUsedBytes",
"memoryTotalBytes",
"dockerVersion",
"generatedAt"
]
},
"limits": {
"timeoutMs": 10000,
"maxOutputBytes": 262144,
"maxItems": 100
},
"redactionProfile": "metadata",
"requiredScopes": [
"project:{project}:read"
]
}
}