62 lines
1.6 KiB
YAML
62 lines
1.6 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {
|
|
"name": "Knowledge Hub Search",
|
|
"slug": "ingestion-search"
|
|
},
|
|
"spec": {
|
|
"canonicalName": "knowledge.ingestion.search",
|
|
"connectorToolName": "search_knowledge",
|
|
"exposedNames": [
|
|
"search_knowledge"
|
|
],
|
|
"version": "1.0.0",
|
|
"connectorType": "ingestion",
|
|
"description": "Search bounded Knowledge Hub content for the authorized project.",
|
|
"riskClass": "R1",
|
|
"readOnly": true,
|
|
"idempotent": true,
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"query": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 500
|
|
},
|
|
"project_id": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"description": "Optional target project UUID. If omitted, the operation uses the Knowledge Hub workspace; this requires the default-off server policy and the trusted knowledge-hub/prod connector identity. A supplied UUID remains strictly allowlisted."
|
|
},
|
|
"limit": {
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"maximum": 20
|
|
},
|
|
"cursor": {
|
|
"type": "string",
|
|
"maxLength": 500
|
|
}
|
|
},
|
|
"required": [
|
|
"query"
|
|
]
|
|
},
|
|
"outputSchema": {
|
|
"type": "object"
|
|
},
|
|
"limits": {
|
|
"timeoutMs": 30000,
|
|
"maxOutputBytes": 131072,
|
|
"maxItems": 20
|
|
},
|
|
"redactionProfile": "documents",
|
|
"requiredScopes": [
|
|
"project:{project}:read"
|
|
]
|
|
}
|
|
}
|