create_share_link
Create, change or revoke a report's share link. create makes the link or keeps the existing one and applies the settings given; update changes it; revoke deletes it so its URL stops working for good (a later create gives a new URL). Settings: enabled (false keeps the link, viewers see "not available"), password (at least 8 characters; sets or replaces; null removes; stored hashed, never returned), allowDateChange (true lets viewers pick other periods and see data beyond the report's own range). Anyone with the link can open the report with every widget, its live numbers and the saved AI summaries, after the password if one is set. A report in Deleted cannot be shared. Returns the share URL. It does not e-mail the link (send_report does). Requires MCP write actions; without confirm:true it returns a preview of what becomes public.
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": {
"reportId": "<reportId>",
"action": "<action>"
},
"name": "create_share_link"
}
}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 enter (at least 8 characters); null removes it. Not 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. |