Generate a QR code (SVG)

Encode text or a URL as a QR code and return a crisp, dependency-free SVG you can paste straight into a page, deck or doc.

post/v1/tools/qr_code

Request

  • Base URL: https://mcp.cleanor.app
  • URL: https://mcp.cleanor.app/v1/tools/qr_code
  • Auth: none declared

Request body

textstring required

Text or URL to encode.

ecc'L' | 'M' | 'Q' | 'H'

Error-correction level: L=7%, M=15%, Q=25%, H=30% recoverable.

sizeinteger

SVG pixel size.

Response

Tool result: data (structured) and text (human-readable).

okboolean
toolstring
dataobject nullable
textstring
attributionstring

Changes

No recorded changes to this operation across all 1 revision of this API.