Share HTML as a tracked link
share_htmlPublishes an HTML document (a deck, report, dashboard, proposal or one-pager) as a tracked HTMLRadar link, and returns two addresses: the link for the recipient, and a dashboard address for the sender. The recipient sees the document as written and never the tracking. The markup goes in html; there is no file-path argument, so a file on disk is published by passing its markup. By default the recipient is asked for their email address before the document opens. The new HTML is screened for phishing signals as every upload is; the link is live the moment it is returned unless the screen holds the page, and readers of a held page see that it is not available yet. The answer includes the saved rules and whether comments are on. The document id that create_share and replace_document take comes from list_documents or list_shares. Markup is limited to 5 MB. Images that need a login, expiring image addresses and local file paths do not load for readers of the link; an image embedded in the HTML as a data URI travels inside the page. The tool does not check that images load.
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": "share_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The HTML markup to publish, in full. There is no file-path argument: a document on disk reaches this tool only as markup the caller has already read. | |
| slug | No | Custom link name, so the URL reads /r/acme-proposal. Paid plans only. | |
| title | No | The document's name on your dashboard. Readers can see it too: it names the page in the one-time code email they receive. | |
| comments | No | Whether readers can comment. Off by default. Turning comments on needs the email gate and a one-time code; who sees comments follows the link. | |
| password | No | Extra password gate on top of the email gate. | |
| lock_deck | No | Blocks save and print; default true. False allows a recipient to keep a copy. | |
| request_id | No | Optional on a first attempt. When a previous call may have been applied, the request_id named by its error makes a retry return the first result instead of doing it twice. | |
| verify_email | No | Whether the reader must prove their email address with a six-digit code before the document opens. Off by default. A verified address identifies the reader rather than an address merely typed into the gate. Needs the email gate, which is on by default; with it off the call is refused. | |
| require_email | No | Whether the recipient must give an email address before the document opens. Defaults to true. | |
| allowed_emails | No | Only these exact addresses may open the link. A separate list from the domains, and a visitor passes on either. Up to 500 addresses; an allowed domain covers all addresses in that domain. Needs the email gate, which is on by default; with it off the call is refused. | |
| show_watermark | No | Show a faint watermark when lock_deck is true. Defaults to true on creation; omitted on edit keeps the saved choice. | |
| recipient_label | No | Who this link is for. A separate link for each recipient separates their reading reports. | |
| expires_in_hours | No | Link stops working after this many hours. | |
| allowed_email_domains | No | Only these email domains may open the link, e.g. ["acme.com"]. Up to 500. Needs the email gate, which is on by default; with it off the call is refused. |