Get Fireplace HTML
fireplace_get_htmlRetrieve the full self-contained HTML source for a digital fireplace. Use a fireplace slug to get the HTML, optionally including JavaScript dependencies for self-hosting.
Instructions
Return the full self-contained HTML source for a fireplace. The HTML imports two small ES modules (/lib/fire.js and /lib/chrome.js) relative to the same origin where you're hosting it. To use this for embedding into your own site, use fireplace_get_embed_code instead — it returns a turnkey iframe snippet.
Args:
slug: fireplace slug (see fireplace_list_styles)
include_lib: if true, also returns the source of /lib/fire.js and /lib/chrome.js so the page can be self-hosted without dependencies on this server
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": {
"slug": "<slug>"
},
"name": "fireplace_get_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Fireplace slug — see fireplace_list_styles for options | |
| include_lib | No | If true, include the fire.js/chrome.js dependencies in the response |