publish_html
Publish self-contained HTML at a public iko.run URL only when the user wants it public. Share the URL and store the edit key privately.
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 | HTML source up to 2,000,000 UTF-8 bytes, with CSS and JavaScript inline. | |
| slug | No | Optional subdomain. Omit for a generated name. | |
| ttl_seconds | No | Optional page expiry. Omit for a page with no fixed expiry. | |
| idempotency_key | No | Private random version 4 UUID. Reuse for an exact retry. |