13 lines
1.0 KiB
YAML
13 lines
1.0 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1", "kind": "ToolManifest",
|
|
"metadata": {"name": "ProjectBrain Finding Suppress", "slug": "projectbrain-finding-suppress"},
|
|
"spec": {
|
|
"canonicalName": "projectbrain.finding.suppress", "version": "1.0.0", "connectorType": "projectbrain",
|
|
"description": "Suppress one finding with a mandatory reason and optional expiry; the destructive tool annotation requires user confirmation.",
|
|
"riskClass": "R2", "readOnly": false, "idempotent": true,
|
|
"inputSchema": {"type": "object", "properties": {"project_id": {"type": "string", "minLength": 1}, "finding_id": {"type": "string", "minLength": 1}, "reason": {"type": "string", "minLength": 3, "maxLength": 2000}, "until": {"type": "string", "format": "date-time"}}, "required": ["project_id", "finding_id", "reason"], "additionalProperties": false},
|
|
"outputSchema": {"type": "object"}, "limits": {"timeoutMs": 30000, "maxOutputBytes": 65536, "maxItems": 1},
|
|
"redactionProfile": "documents", "requiredScopes": ["project:{project}:write"]
|
|
}
|
|
}
|