31 lines
1.2 KiB
YAML
31 lines
1.2 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {"name": "Gitea Issue Update", "slug": "gitea-issue-update"},
|
|
"spec": {
|
|
"canonicalName": "gitea.issue.update",
|
|
"version": "1.10.0",
|
|
"connectorType": "gitea",
|
|
"description": "Update, close or reopen one issue while explicitly excluding pull requests.",
|
|
"riskClass": "R2",
|
|
"readOnly": false,
|
|
"idempotent": false,
|
|
"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},
|
|
"title": {"type": ["string", "null"], "minLength": 1, "maxLength": 500},
|
|
"body": {"type": ["string", "null"], "maxLength": 32000},
|
|
"state": {"type": ["string", "null"], "enum": ["open", "closed", null]}
|
|
},
|
|
"required": ["repositoryRef", "number"]
|
|
},
|
|
"outputSchema": {"type": "object"},
|
|
"limits": {"timeoutMs": 15000, "maxOutputBytes": 262144, "maxItems": 1},
|
|
"redactionProfile": "documents",
|
|
"requiredScopes": ["project:{project}:write"]
|
|
}
|
|
}
|