29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {"name": "Gitea Issue Create", "slug": "gitea-issue-create"},
|
|
"spec": {
|
|
"canonicalName": "gitea.issue.create",
|
|
"version": "1.1.0",
|
|
"connectorType": "gitea",
|
|
"description": "Create one issue in an explicitly registered repository when the user requested that external write.",
|
|
"riskClass": "R2",
|
|
"readOnly": false,
|
|
"idempotent": false,
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"repositoryRef": {"type": "string", "pattern": "^[a-z0-9][a-z0-9-]{0,127}$"},
|
|
"title": {"type": "string", "minLength": 1, "maxLength": 500},
|
|
"body": {"type": "string", "maxLength": 32000, "default": ""}
|
|
},
|
|
"required": ["repositoryRef", "title"]
|
|
},
|
|
"outputSchema": {"type": "object"},
|
|
"limits": {"timeoutMs": 15000, "maxOutputBytes": 262144, "maxItems": 1},
|
|
"redactionProfile": "metadata",
|
|
"requiredScopes": ["project:{project}:write"]
|
|
}
|
|
}
|