Publish HTML
publish_htmlPublish a single self-contained HTML page (up to 512 KiB) without an account. It is public to anyone with the link and expires after 7 days. Returns { id, url, expiresAt (unix seconds), key, claimUrl }. Show the user url and claimUrl; keep key secret.
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": "publish_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes |