Share a Porter report
share_reportShare a report — by public link, by granting people a role, by email, or hand it over to another company.
method:
link— make the report publicly viewable; returns its shareableshare_url/magic_link.access— grant every address inrecipientsaroleon the report WITHOUT emailing (silent share).roleisviewer(read only),editor(edit + rename) oradmin(also share / schedule / delete). Existing grants are preserved (this adds to them). Passrevoke=trueto instead removerecipientsfrom every role. To LOWER someone's role, revoke them first, then grant the new one.email— grantrecipientstherole(defaultviewer, so a PRIVATE report opens for them) AND email them the link now (with a PDF when enabled); pass optionalsubject/message. Response reportssent_to.transfer— move the report (owner + company) intocompany_id, a company where you are owner or admin. Same id and URL. Use it when the report lives in the wrong company — e.g. it must be served on a client's custom domain, which only serves reports of the domain's company. Only the report's OWNER can transfer.new_owner_emaildefaults to that company's owner (pass it only to pick yourself or another owner there). The previous owner stays on the report as admin; their email schedules for it are removed (recreate them after). Response:owner_email,company_id,previous_owner_email,previous_company_id,schedules_removed,warnings.
Optionally set visibility (PRIVATE | LINK_PUBLIC),
share_with_company or share_with_domain alongside an access/email
grant — or ON THEIR OWN: call method="access" with NO recipients and
just a visibility (e.g. make a report PRIVATE again) to change the
report-level sharing without touching anyone's role. Owner or admin only.
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>",
"method": "<method>"
},
"name": "share_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | viewer | |
| method | Yes | ||
| revoke | No | ||
| message | No | ||
| subject | No | ||
| report_id | Yes | ||
| company_id | No | ||
| recipients | No | ||
| visibility | No | ||
| new_owner_email | No | ||
| share_with_domain | No | ||
| share_with_company | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||