{"openapi":"3.0.3","info":{"title":"Gnist Context — Barcode Generation","description":"Generate barcode image URLs for Code 128, Code 39, EAN-13, EAN-8, UPC-A, and QR formats with data validation.\n\n- **MCP endpoint:** `https://context.gnist.ai/mcp/barcode/`\n- **Toolkit page:** `/toolkits/barcode`\n- **Full API spec:** `/api/openapi.json`\n- **Get an API key:** `/signup`","version":"1.0.0","contact":{"name":"GnistAI","url":"https://gnist.ai"}},"servers":[{"url":"https://context.gnist.ai","description":"Production"}],"paths":{"/rest/barcode/generate_barcode":{"post":{"tags":["Utilities"],"summary":"generate_barcode","description":"Generate a barcode image URL for the given data and type.\n\nReturns a URL that renders a barcode image. The URL can be used directly in an <img> tag\nor opened in a browser. No image data is returned — only the URL.\nSupported types: code128, code39, ean13, ean8, upc-a, qr.","operationId":"barcode_generate_barcode","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"barcode_type":{"description":"Barcode type: code128, code39, ean13, ean8, upc-a, qr.","type":"string"},"data":{"description":"The data to encode in the barcode.","type":"string"}},"required":["barcode_type","data"],"type":"object"}}}}}},"/rest/barcode/list_barcode_types":{"post":{"tags":["Utilities"],"summary":"list_barcode_types","description":"List supported barcode types with descriptions.\n\nReturns the available barcode types including name, description, and expected data format.","operationId":"barcode_list_barcode_types","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}]}},"/rest/barcode/report_feedback":{"post":{"tags":["Utilities"],"summary":"report_feedback","description":"Report a bug, feature request, or general feedback for this data source.\n\nUse this when something doesn't work as expected, when you'd like\na new feature, or when you have suggestions for improvement.\n\nArgs:\n    feedback: Describe the issue or suggestion.\n    feedback_type: One of 'bug', 'feature_request', or 'general'.","operationId":"barcode_report_feedback","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"feedback":{"type":"string"},"feedback_type":{"default":"general","type":"string"}},"required":["feedback"],"type":"object"}}}}}}},"tags":[{"name":"Utilities","description":"Data sources: Utilities"}],"components":{"securitySchemes":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"gnist-api-key","description":"API key passed via request header."},"ApiKeyQuery":{"type":"apiKey","in":"query","name":"gnist_api_key","description":"API key passed via query parameter."}}}}