{"openapi":"3.0.3","info":{"title":"Gnist Context — QR Code","description":"Generate QR code image URLs via goqr.me — encode text, URLs, or data with customizable size, format, colors, and error correction.\n\n- **MCP endpoint:** `https://context.gnist.ai/mcp/qr-code/`\n- **Toolkit page:** `/toolkits/qr-code`\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/qr-code/generate_qr_code":{"post":{"tags":["Utilities"],"summary":"generate_qr_code","description":"Generate a QR code URL for the given text or URL.\n\nReturns a URL that renders a QR code image. The URL can be used directly in an <img> tag\nor opened in a browser. No image data is returned — only the URL.","operationId":"qr_code_generate_qr_code","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":{"data":{"description":"The text or URL to encode in the QR code.","type":"string"},"size":{"default":200,"description":"Image size in pixels (10-1000).","maximum":1000,"minimum":10,"type":"integer"},"format":{"default":"png","description":"Image format: png, gif, jpeg, svg, eps.","type":"string"},"error_correction":{"default":"M","description":"Error correction level: L, M, Q, H.","type":"string"},"color":{"default":"000000","description":"QR code color as hex (e.g. 000000 for black).","type":"string"},"bg_color":{"default":"ffffff","description":"Background color as hex (e.g. ffffff for white).","type":"string"}},"required":["data"],"type":"object"}}}}}},"/rest/qr-code/list_qr_formats":{"post":{"tags":["Utilities"],"summary":"list_qr_formats","description":"List supported QR code image formats.\n\nReturns the available output formats for QR code generation.","operationId":"qr_code_list_qr_formats","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/qr-code/list_qr_error_correction_levels":{"post":{"tags":["Utilities"],"summary":"list_qr_error_correction_levels","description":"List available QR code error correction levels.\n\nReturns the error correction levels (L/M/Q/H) with descriptions of their recovery capability.","operationId":"qr_code_list_qr_error_correction_levels","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/qr-code/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":"qr_code_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."}}}}