generate_svg
Convert text prompts into scalable SVG images with customizable styles and sizes using the Recraft model via the replicate-flux-mcp server.
Instructions
Generate an SVG from a text prompt using Recraft model
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": "generate_svg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Prompt for generated SVG | |
| size | No | Size of the generated SVG | 1024x1024 |
| style | No | Style of the generated image. | any |