create_share_link
Create, change or revoke a report's share link — the link on the report's Share panel. "create" makes the link (or keeps the one it has) and applies any settings given; "update" changes the existing link; "revoke" deletes it so its URL stops working for good (a later create gives a new URL; on a report with an active e-mail schedule, the next scheduled send creates a new link, and the preview says so). Settings: enabled (false keeps the link but viewers see "not available"), password (sets or replaces one; null removes it; stored hashed, never returned or shown), allowDateChange (true lets viewers pick other periods, so they see data beyond the report's own range). ANYONE WITH THE LINK can open the report — every widget and its live numbers, and the saved AI summaries — after entering the password if one is set. A report in Deleted cannot be shared. Returns the share URL, on the workspace's verified custom domain when there is one. It does not e-mail the link (send_report does) and does not change the report. Requires MCP write actions; without confirm:true it returns a preview of what becomes public and changes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | create (or keep) the link, update its settings, or revoke it. | |
| confirm | No | Set true to apply. Omit for a preview. With confirm:true, also pass the preview's previewToken. | |
| enabled | No | Whether the link opens the report. | |
| password | No | Set a password viewers must enter; null removes it. Never echoed back. | |
| reportId | Yes | Report id (from list_reports). | |
| previewToken | No | With confirm:true: the previewToken from this tool's preview (valid 15 minutes, once, for exactly the previewed arguments). | |
| allowDateChange | No | Let viewers switch the report's period. |