set_share_expiry
Change how long a live share lasts by setting its expiry to 7, 30, or 90 days from when it was shared. Useful when a user asks to extend or shorten access to one of their shares.
Instructions
Change how long one of the user's live shares lasts: days from when it was shared, one of 7, 30 or 90. Portward asks the user to confirm it themselves; only call this when the user asks. Personal 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": {
"share_id": "<share_id>",
"days": "<days>"
},
"name": "set_share_expiry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | ||
| share_id | Yes |