share
Send a history pull to a named teammate by email, with expiring code access, per-column visibility, and optional CSV download.
Instructions
Share a pull from history with a teammate by email: the table is encrypted on this machine and the link is shown to the user in the Portward share panel to copy and send (or open in their mail app from there; without a panel a draft opens in their mail app). You never see the link. The teammate opens it with a code emailed to them; it expires after days (7 unless the user asks for longer: up to 90 with Portward Personal). Blocked columns are never included. options sets what the teammate sees of each column, as the user chooses: "include" (the default for columns not named), "hide", "anonymise" (each value becomes a code, the same value the same code within this share only) or "totals" (only sums per group of the other columns, groups of fewer than 5 rows left out). Ask the user which they want; don't choose for them. allow_download (default false: view only) lets the teammate download the shared table as a CSV; leave it false unless the user asks for the teammate to be able to download it. It can't be changed after sharing. Only call this when the user asks to share and names the teammate.
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": {
"pull_id": "<pull_id>",
"recipient": "<recipient>"
},
"name": "share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| options | No | ||
| pull_id | Yes | ||
| recipient | Yes | ||
| allow_download | No |