Makes a QR code as scalable SVG for up to 17 bytes at level
agent_intel_highres_qr_code_generatorMakes a QR code as scalable SVG (21x21 modules, version 1) for up to 17 bytes at level L, 14 at M, 11 at Q or 7 at H, with the mask chosen by the standard penalty rules. Returns the SVG and a base64 copy. Larger versions are not supported; longer text returns 400. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "agent_intel_highres_qr_code_generator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ec | No | Error correction level: L, M, Q or H (default M) | |
| text | Yes | Text to encode as UTF-8 bytes; the byte limit depends on the level | |
| scale | No | Pixels per module in the SVG, 1 to 20 (default 8) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ec | No | ||
| svg | No | ||
| mask | No | ||
| note | No | ||
| size | No | ||
| source | No | ||
| version | No | ||
| checkedAt | No | ||
| svgBase64 | No |