58 lines
1.5 KiB
YAML
58 lines
1.5 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {
|
|
"name": "Knowledge Hub Submit",
|
|
"slug": "ingestion-submit"
|
|
},
|
|
"spec": {
|
|
"canonicalName": "knowledge.ingestion.submit",
|
|
"connectorToolName": "submit_ingestion_proposal",
|
|
"exposedNames": [
|
|
"submit_ingestion_proposal"
|
|
],
|
|
"version": "1.0.0",
|
|
"connectorType": "ingestion",
|
|
"description": "Submit service-account analysis for mandatory human review; never publish.",
|
|
"riskClass": "R2",
|
|
"readOnly": false,
|
|
"idempotent": false,
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"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."
|
|
},
|
|
"proposal_id": {
|
|
"type": "string",
|
|
"format": "uuid"
|
|
},
|
|
"analysis": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 32000
|
|
}
|
|
},
|
|
"required": [
|
|
"proposal_id",
|
|
"analysis"
|
|
]
|
|
},
|
|
"outputSchema": {
|
|
"type": "object"
|
|
},
|
|
"limits": {
|
|
"timeoutMs": 30000,
|
|
"maxOutputBytes": 131072,
|
|
"maxItems": 20
|
|
},
|
|
"redactionProfile": "strict",
|
|
"requiredScopes": [
|
|
"project:{project}:write"
|
|
]
|
|
}
|
|
}
|