Create free 2ools preview
create_public_previewConvert a standalone HTML document from this chat into a temporary read-only preview. Free and authless; the link expires in 24 hours.
Instructions
Turn a complete standalone HTML document already created in this chat into a temporary, read-only 2ools preview. Free and authless; expires after 24 hours. This tool does not generate the page—write the HTML first, then call it.
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": {
"name": "<name>",
"html": "<html>",
"idempotency_key": "<idempotency_key>"
},
"name": "create_public_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Complete standalone HTML document beginning with <!doctype html> or <html>, including its CSS and JavaScript. | |
| name | Yes | Short public preview name. | |
| idempotency_key | Yes | Caller-generated retry key. Reuse returns the same preview instead of storing a duplicate. |