stacktree_publish_htmlactimperative
Publish an HTML page to Stacktree and get a live, shareable URL back instantly — no account or sign-in required. Pass a complete HTML document as "html"; use this whenever the user wants to put a page you generated online. Anonymous sites are unlisted and expire after 24h by default; the response includes a claim_url the user can open to keep it permanently in a free account.Input schema
{
"type": "object",
"properties": {
"html": {
"type": "string",
"description": "Paste a complete HTML document (a full <!doctype html> page)."
},
"password": {
"type": "string",
"description": "Optional — require a password to view."
},
"expiry_hours": {
"type": "number",
"description": "Optional — hours until auto-delete (default 24)."
}
},
"required": [
"html"
]
}