Draw a share image (Open Graph card)
generate_og_imageDraw a 1200 × 630 share image as SVG from a title and, optionally, a subtitle, a site name, a light or dark theme and an accent colour. Answers the SVG and notes; convert it to PNG before using it as og:image, since networks don't show SVG. Answers from what you send alone: nothing is fetched or stored.
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": {
"title": "<title>"
},
"name": "generate_og_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | light (default) or dark. | |
| title | Yes | The card's headline. | |
| accent | No | Accent colour as hex, like #4d7c0f. | |
| siteName | No | Shown top left. | |
| subtitle | No | One line under it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| toolUrl | Yes |