Render Open Graph Image
render_ogRender an inline HTML snippet to a social-share (Open Graph) image sized for link previews, defaulting to the standard 1200x630 OG dimensions. Use this to generate og:image assets for blog posts, products, or share cards without hand-designing an image.
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": {
"html": "<html>"
},
"name": "render_og"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Raw HTML to render into the OG image (required, max 100KB) | |
| width | No | Viewport width in pixels, 320-1920 (default 1200) | |
| height | No | Viewport height in pixels, 240-1080 (default 630) |