generate_og_image
Render a 1200x630 Open Graph image from a template and text params such as title and subtitle to create link previews, returning a permanent og:image URL and cache status.
Instructions
Render a 1200x630 Open Graph image from a template id (see list_templates) and text params such as title and subtitle. Returns the permanent image URL to put in og:image, and whether it was already cached. Optional exp (Unix seconds, paid plans) makes the signed URL expire; leave it out for an og:image URL.
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": {
"templateId": "<templateId>"
},
"name": "generate_og_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exp | No | ||
| params | No | ||
| templateId | Yes |