Create a share link (set visibility)
create_share_linkGenerate a shareable link to a scene you own and optionally set its visibility to public, unlisted, or private, so you can send or post it—or mint a revocable token link.
Instructions
Get a link to a scene the user owns, optionally changing who can open it. Use it when the user wants to send or post a scene, or change it to public, unlisted or private; to cut off a link use revoke_share_link; for website code use get_embed_code. Parameters: visibility 'unlisted' (anyone with the link; the default for new scenes), 'public' (also listed) or 'private' (opens only with a secret token); omit it to keep the current setting. new_token gives a revocable link without making the scene private. autoplay_tour starts the default camera tour on open. Side effects: changes the scene's visibility when visibility is given, and every token call creates another token. The token is shown only once; keep shareId to revoke it. Links never expire on their own. Requires sign-in (connector sign-in, or VERSE_API_KEY for the local server).
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": {
"scene": "<scene>"
},
"name": "create_share_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene | Yes | Scene id (e.g. palm-villa-0a1b2c3d4e5f), the job id returned by upload_scene, or a Verse share link. | |
| new_token | No | Mint a fresh private share token even if the scene is not private (e.g. to hand out revocable links). | |
| visibility | No | Set the scene's visibility first. Omit to keep it as is. | |
| autoplay_tour | No | Open the link playing the scene's camera path (see list_camera_paths). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | The link to share. | |
| scene | Yes | Scene id. | |
| shareId | No | Id of the minted token, for revoke_share_link. | |
| visibility | No | The scene's visibility after the call. |