Share a report with a password
share_report_with_passwordCreates a new link that requires both its address and a separate password to read this report. Use when an owner or admin asks to share it with a password. Read the report first and attest to its personal data exactly as for share_report. Other addresses keep their existing access: check list_report_links before saying a whole report is protected. A retry with the same request id returns the original link and settings, even if it has ended. Deliver the password separately from the address.
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": {
"report_id": "<report_id>",
"password": "<password>",
"request_id": "<request_id>"
},
"name": "share_report_with_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | What the person calls the link, for example `client review`. | |
| password | Yes | A dedicated password for this link, at least 15 characters. Never use an account password. | |
| report_id | Yes | The report to share (list_reports gives ids). | |
| request_id | Yes | A new random UUID for this link. Reuse it only to retry this exact request. | |
| named_people | No | Instead of contains_no_personal_data: each real person the report names, who agreed to be named in it. | |
| workspace_id | No | Workspace id from whoami; omit when there is one. | |
| lifetime_days | No | How many days the link works from now: 1, 7 or 30. 7 when left out. Leave it out when open_until_ended is true. | |
| open_until_ended | No | The link never expires: it works until the person or another owner or admin ends it (end_report_link), like a shared artifact's link. Only when the person asks for a link that stays up; never with lifetime_days. | |
| contains_no_personal_data | No | You read the report, its title and the label, and they hold no personal details of real people. Give this or named_people, exactly one. |