Create a share link to a slide
create_share_linkGet a short link (/s/) that opens a deck at one slide and click step, for a chat message or follow-up email. Use it to point someone at a specific slide; for the whole deck, use the view URL from get_deck. Needs decks:write because it records the link (60 changes a minute), but it is idempotent: the same deck and position always return the same code. Positions aren't checked against the deck; the deck opens a slide past the end at its nearest one.
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": {
"deck": "<deck>"
},
"name": "create_share_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | 0-based slide column, as in the deck's #/h/v/click URLs. Default 0. | |
| v | No | 0-based row within a vertical stack of slides. Default 0. | |
| deck | Yes | The deck's id (starts with `d`) or its slug, as list_decks returns them; case-insensitive. A deck outside this workspace fails with “No deck …” — call list_decks. | |
| click | No | Click step on that slide; 0 (default) shows it before any reveal. | |
| label | No | A note shown with the link's hits in the stats page. Kept only when the link is first made. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| code | Yes | ||
| target | Yes |