Files
ITWorx_MCP_Hub-Public/catalog/tools/knowledge-index-status.yaml
T

82 lines
1.8 KiB
YAML

{
"apiVersion": "hub.example.com/v1alpha1",
"kind": "ToolManifest",
"metadata": {
"name": "Knowledge Index Status",
"slug": "knowledge-index-status"
},
"spec": {
"canonicalName": "knowledge.index.status",
"version": "1.0.0",
"connectorType": "knowledge",
"description": "Return read-only index freshness, source count and last indexing result.",
"riskClass": "R1",
"readOnly": true,
"idempotent": true,
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {},
"required": []
},
"outputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"status": {
"enum": [
"ready",
"indexing",
"stale",
"failed",
"empty"
]
},
"sourceCount": {
"type": "integer",
"minimum": 0
},
"documentCount": {
"type": "integer",
"minimum": 0
},
"lastCompletedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"lastError": {
"type": [
"string",
"null"
],
"maxLength": 1000
},
"generatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"status",
"sourceCount",
"documentCount",
"lastCompletedAt",
"lastError",
"generatedAt"
]
},
"limits": {
"timeoutMs": 10000,
"maxOutputBytes": 262144,
"maxItems": 100
},
"redactionProfile": "metadata",
"requiredScopes": [
"project:{project}:read"
]
}
}