{ "apiVersion": "hub.example.com/v1alpha1", "kind": "ToolManifest", "metadata": { "name": "Gitea File Read", "slug": "gitea-file-read" }, "spec": { "canonicalName": "gitea.file.read", "version": "1.2.0", "connectorType": "gitea", "description": "Read one bounded file using a URI returned by an authorized repository tool, optionally from an explicit branch or ref.", "riskClass": "R1", "readOnly": true, "idempotent": true, "inputSchema": { "type": "object", "additionalProperties": false, "properties": { "fileUri": { "type": "string", "pattern": "^itworx-git://", "maxLength": 2048 }, "ref": { "type": ["string", "null"], "maxLength": 300 } }, "required": [ "fileUri" ] }, "outputSchema": { "type": "object", "additionalProperties": false, "properties": { "fileUri": { "type": "string", "minLength": 1, "maxLength": 2048 }, "mimeType": { "type": "string", "maxLength": 100 }, "content": { "type": "string", "maxLength": 200000 }, "commitSha": { "type": "string", "pattern": "^[a-f0-9]{7,64}$" }, "truncated": { "type": "boolean" }, "generatedAt": { "type": "string", "format": "date-time" } }, "required": [ "fileUri", "mimeType", "content", "commitSha", "truncated", "generatedAt" ] }, "limits": { "timeoutMs": 10000, "maxOutputBytes": 262144, "maxItems": 1 }, "redactionProfile": "documents", "requiredScopes": [ "project:{project}:read" ] } }