Files
ITWorx_MCP_Hub-Public/catalog/tools/gitea-repository-get.yaml
T

96 lines
2.0 KiB
YAML

{
"apiVersion": "hub.example.com/v1alpha1",
"kind": "ToolManifest",
"metadata": {
"name": "Gitea Repository Get",
"slug": "gitea-repository-get"
},
"spec": {
"canonicalName": "gitea.repository.get",
"version": "1.0.0",
"connectorType": "gitea",
"description": "Read metadata for a registered project repository.",
"riskClass": "R1",
"readOnly": true,
"idempotent": true,
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"repositoryRef": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,127}$"
}
},
"required": [
"repositoryRef"
]
},
"outputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"repositoryRef": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]{0,127}$"
},
"name": {
"type": "string",
"maxLength": 200
},
"owner": {
"type": "string",
"maxLength": 200
},
"private": {
"type": "boolean"
},
"defaultBranch": {
"type": [
"string",
"null"
],
"maxLength": 200
},
"description": {
"type": [
"string",
"null"
],
"maxLength": 2000
},
"updatedAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"generatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"repositoryRef",
"name",
"owner",
"private",
"defaultBranch",
"description",
"updatedAt",
"generatedAt"
]
},
"limits": {
"timeoutMs": 10000,
"maxOutputBytes": 262144,
"maxItems": 100
},
"redactionProfile": "metadata",
"requiredScopes": [
"project:{project}:read"
]
}
}