29 lines
1.1 KiB
YAML
29 lines
1.1 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {"name": "Gitea Issue Comment Create", "slug": "gitea-issue-comment-create"},
|
|
"spec": {
|
|
"canonicalName": "gitea.issue.comment.create",
|
|
"version": "1.1.0",
|
|
"connectorType": "gitea",
|
|
"description": "Add one bounded comment to an existing Gitea issue or pull request when the user requested that external communication.",
|
|
"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},
|
|
"body": {"type": "string", "minLength": 1, "maxLength": 32000}
|
|
},
|
|
"required": ["repositoryRef", "number", "body"]
|
|
},
|
|
"outputSchema": {"type": "object"},
|
|
"limits": {"timeoutMs": 15000, "maxOutputBytes": 262144, "maxItems": 1},
|
|
"redactionProfile": "metadata",
|
|
"requiredScopes": ["project:{project}:write"]
|
|
}
|
|
}
|