28 lines
999 B
YAML
28 lines
999 B
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {"name": "Gitea Pull Request Get", "slug": "gitea-pull-request-get"},
|
|
"spec": {
|
|
"canonicalName": "gitea.pullrequest.get",
|
|
"version": "1.0.0",
|
|
"connectorType": "gitea",
|
|
"description": "Read one pull request and a bounded changed-file summary without returning unrestricted patch content.",
|
|
"riskClass": "R1",
|
|
"readOnly": true,
|
|
"idempotent": true,
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"repositoryRef": {"type": "string", "pattern": "^[a-z0-9][a-z0-9-]{0,127}$"},
|
|
"number": {"type": "integer", "minimum": 1, "maximum": 2147483647}
|
|
},
|
|
"required": ["repositoryRef", "number"]
|
|
},
|
|
"outputSchema": {"type": "object"},
|
|
"limits": {"timeoutMs": 10000, "maxOutputBytes": 262144, "maxItems": 100},
|
|
"redactionProfile": "metadata",
|
|
"requiredScopes": ["project:{project}:read"]
|
|
}
|
|
}
|