Render to image: HTML, Markdown or a web page to a PNG (cards, charts, previews)
render_pngUse when an agent must turn its own HTML or Markdown into an image (social card, chart, table snapshot, preview) or capture a page as PNG. Input: GET ?url=, or POST JSON {html | markdown | url, width 320-1920, full_page}. Korean fonts included. Output: JSON fileBase64 (decode to the PNG), bytes, viewport. Bad input or daily cap refused before payment. Use instead: web_screenshot for a live page as visitors see it; render_pdf for a PDF. Example: ?url=https://example.com/ Price: $0.01 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "render_png"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) page to render (GET). For html/markdown use POST JSON. | |
| html | No | HTML to render (MCP argument or POST JSON; alternative to url/markdown) | |
| width | No | Viewport width in px (default 1024) | |
| markdown | No | Markdown to render (MCP argument or POST JSON; alternative to url/html) | |
| full_page | No | 1 = whole page (default), 0 = first screen only |