Create share link
create_share_linkMint a public permalink for a ready generation, a verified upload, or a whole group. Ask before sharing on someone's behalf. The URL comes back ONCE — nothing can recover it later, only revoke it — so hand it to the user in the same turn. expires_in_seconds bounds it (one minute to thirty days; absent means no expiry). settings decides what the page says: a title and caption, whether Download is offered, how much provenance shows, the default theme, and indexable (whether search engines may list the page; off by default, so a link stays unlisted, and only turned on when the user asks for the page to be findable). Spends no credits.
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": {
"reference": "<reference>"
},
"name": "create_share_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settings | No | ||
| reference | Yes | A generation or upload, as list_media names it. A group generation shares the whole set. | |
| expires_in_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| share_id | Yes | ||
| share_url | Yes | ||
| expires_at | Yes |