30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {"name": "ProjectBrain Analysis Results", "slug": "projectbrain-analysis-results"},
|
|
"spec": {
|
|
"canonicalName": "projectbrain.analysis.results",
|
|
"version": "1.0.0",
|
|
"connectorType": "projectbrain",
|
|
"description": "Read one bounded page of compact repository analysis results.",
|
|
"riskClass": "R1",
|
|
"readOnly": true,
|
|
"idempotent": true,
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"job_id": {"type": "string", "minLength": 1},
|
|
"cursor": {"type": "string", "pattern": "^[0-9]+$"},
|
|
"page_size": {"type": "integer", "minimum": 1, "maximum": 10},
|
|
"character_budget": {"type": "integer", "minimum": 4000, "maximum": 32000}
|
|
},
|
|
"required": ["job_id"],
|
|
"additionalProperties": false
|
|
},
|
|
"outputSchema": {"type": "object"},
|
|
"limits": {"timeoutMs": 30000, "maxOutputBytes": 65536, "maxItems": 10},
|
|
"redactionProfile": "documents",
|
|
"requiredScopes": ["project:{project}:read"]
|
|
}
|
|
}
|