Share a document
share_documentCreate a shareable link to a document so anyone with the URL can open it — no sign-in required. Choose "participate" (the default: comment, add stickies and vote), "view" (read-only) or "edit". Returns the link URL. Use after creating or finding a document to hand it to teammates.
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": {
"documentId": "<documentId>"
},
"name": "share_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | What the link grants. "participate" (default): recipients add stickies, write and vote but cannot reshape it; right for a retro or a workshop. "view": they only look, with no comments or votes. "edit": they can change anything. No sign-in is needed to open any. | |
| expiry | No | When the link stops working. Defaults to "never" (until revoked). | |
| documentId | Yes | The document to share (from find_documents / read_document). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The share link. Opening it needs no sign-in. | |
| role | Yes | What the link grants. | |
| expiresAt | Yes | When the link stops working, as a ms epoch; null when it never expires. | |
| documentUrl | Yes | Link that opens the document in the livediagram editor. |