Share app by link
share_app_by_linkMakes a new share link for an app: anyone who holds the URL can open it with no sign-in and save in it, never change it. For when the person asks for a link to pass on. Returns share_url, which people open while the app's own URL stays private, and a link_id, which stopping that link later needs: the URL will not do. expires takes never, 24h or 7d, so the link stops working on its own; omitted means 7d. Making a link twice yields two live links, so a call that timed out may have made one; get_access shows it.
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": {
"app_id": "<app_id>"
},
"name": "share_app_by_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | the app to make a link for, from a reply or list_apps | |
| expires | No | one of never, 24h or 7d; omit means 7d |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link_id | Yes | this link's id. Stopping the link later needs it, and the URL will not do | |
| share_url | Yes | the link people open; the app's own URL stays private | |
| expires_at | No | when the link stops working, RFC3339; omit or null means it does not expire on its own |