Create Space Item Share Link Tool
create-space-item-share-linkUse this when the user wants to share a Space page/document, folder, or external link with a public URL. State-changing public-link action: creates and returns a signed public share link after authorization. Requires owned Space access, space_id, item_id, and optional expiration.
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": {
"space_id": "<space_id>",
"item_id": "<item_id>"
},
"name": "create-space-item-share-link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | Space item ID to share. | |
| space_id | Yes | Space ID that contains the item. | |
| expires_in_minutes | No | 0 for always visible, otherwise one of 5, 15, 30, 60, 120, 240, 480, 720, 1440, 2880, 4320, 10080. Defaults to 5. |