Svg generate
svg_generateGenerate a clean, sanitized standalone SVG vector graphic (icon, logo, badge, or diagram) from a text prompt. $0.002 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for terms, then call again with payment.
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": {
"prompt": "<prompt>"
},
"name": "svg_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Optional style: minimal (default), flat, outline, badge, diagram, or geometric. | |
| width | No | Optional width in px (32-1024, default 256). | |
| height | No | Optional height in px (32-1024, default 256). | |
| prompt | Yes | Description of the SVG vector icon, logo, badge, or diagram to draw (3-1000 chars). | |
| payment | No | signed x402 payment payload (PAYMENT-SIGNATURE). |