47 lines
1.6 KiB
YAML
47 lines
1.6 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {"name": "Gitea Research Search", "slug": "gitea-research-search"},
|
|
"spec": {
|
|
"canonicalName": "gitea.research.search",
|
|
"connectorToolName": "search",
|
|
"exposedNames": ["search", "itworx-gitea-search"],
|
|
"version": "1.6.0",
|
|
"connectorType": "gitea",
|
|
"description": "Search a bounded set of registered private Gitea repositories and return immutable citable documents through the standard Company Knowledge search contract.",
|
|
"riskClass": "R1",
|
|
"readOnly": true,
|
|
"idempotent": true,
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {"query": {"type": "string", "minLength": 1, "maxLength": 500}},
|
|
"required": ["query"]
|
|
},
|
|
"outputSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"results": {
|
|
"type": "array",
|
|
"maxItems": 20,
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {"type": "string", "maxLength": 4096},
|
|
"title": {"type": "string", "maxLength": 512},
|
|
"url": {"type": "string", "format": "uri", "maxLength": 4096}
|
|
},
|
|
"required": ["id", "title", "url"]
|
|
}
|
|
}
|
|
},
|
|
"required": ["results"]
|
|
},
|
|
"limits": {"timeoutMs": 120000, "maxOutputBytes": 262144, "maxItems": 20},
|
|
"redactionProfile": "documents",
|
|
"requiredScopes": ["project:{project}:read"]
|
|
}
|
|
}
|