Files
ITWorx_MCP_Hub-Public/catalog/tools/gitea-branch-delete.yaml
T

2 lines
905 B
YAML

{"apiVersion":"hub.example.com/v1alpha1","kind":"ToolManifest","metadata":{"name":"Gitea Branch Delete","slug":"gitea-branch-delete"},"spec":{"canonicalName":"gitea.branch.delete","version":"1.14.0","connectorType":"gitea","description":"Delete only a non-default branch whose matching PR is merged or closed, with an exact head SHA lock and no open PR reference.","riskClass":"R3","readOnly":false,"idempotent":false,"inputSchema":{"type":"object","additionalProperties":false,"properties":{"repositoryRef":{"type":"string"},"branch":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._/-]{0,299}$"},"expectedHeadSha":{"type":"string","pattern":"^[0-9a-fA-F]{40,64}$"}},"required":["repositoryRef","branch","expectedHeadSha"]},"outputSchema":{"type":"object"},"limits":{"timeoutMs":15000,"maxOutputBytes":262144,"maxItems":1},"redactionProfile":"documents","requiredScopes":["project:{project}:write"]}}