Files
ITWorx_MCP_Hub-Public/catalog/tools/knowledge-document-get.yaml
T

84 lines
1.8 KiB
YAML

{
"apiVersion": "hub.example.com/v1alpha1",
"kind": "ToolManifest",
"metadata": {
"name": "Knowledge Document Get",
"slug": "knowledge-document-get"
},
"spec": {
"canonicalName": "knowledge.document.get",
"version": "1.0.0",
"connectorType": "knowledge",
"description": "Read one authorized document resource by its Hub URI.",
"riskClass": "R1",
"readOnly": true,
"idempotent": true,
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"uri": {
"type": "string",
"pattern": "^itworx-docs://",
"maxLength": 2048
}
},
"required": [
"uri"
]
},
"outputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"uri": {
"type": "string",
"minLength": 1,
"maxLength": 2048
},
"title": {
"type": "string",
"maxLength": 300
},
"mimeType": {
"type": "string",
"maxLength": 100
},
"content": {
"type": "string",
"maxLength": 200000
},
"sourceRevision": {
"type": "string",
"maxLength": 200
},
"truncated": {
"type": "boolean"
},
"generatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"uri",
"title",
"mimeType",
"content",
"sourceRevision",
"truncated",
"generatedAt"
]
},
"limits": {
"timeoutMs": 10000,
"maxOutputBytes": 262144,
"maxItems": 1
},
"redactionProfile": "documents",
"requiredScopes": [
"project:{project}:read"
]
}
}