Outbox: create a share link
outbox_create_shareCreate a share link for a page or folder with optional expiry, recipient name, and password; recipients can open it, and unopened recipient links can trigger reminders.
Instructions
Creates a share link (share token) for a page or folder, with optional expiry, recipient name and password. Anyone with the link (and the password, if set) can open it. With a recipient on a page, you are reminded after 48 hours if the link is still unopened (remindIfUnopenedHours; null disables it); renewOnOpen keeps the link alive while the recipient keeps opening it. Returns { token, url, expiresAt, passphraseProtected, recipient, remindAt, renewOnOpen }.
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": {
"resource": "<resource>"
},
"name": "outbox_create_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes | Slug/path of the page or folder to share | |
| recipient | No | Who the link is for (e.g. 'Laura · Acme'). One link per person: each open is recorded under that name in outbox_page_views | |
| passphrase | No | Optional password (4-256 characters) the recipient must enter to open the link. Stored hashed; send it to the recipient through another channel | |
| renewOnOpen | No | true = each open moves the expiry to now + expiresInDays (capped at 90 days after creation and at the issuing key's expiry). Requires expiresInDays. Default false | |
| resourceType | No | post (a page) or folder | post |
| expiresInDays | No | Days until the link expires (null = never) | |
| remindIfUnopenedHours | No | Hours (1-336) after which, if nobody has opened the link, you get an email (and a Slack DM if Slack is connected). null = no reminder. Omitted: 48 when `recipient` is set and the resource is a page; otherwise no reminder |