Create or change a collection
save_collectionCreates a collection of the user's Snip.link links, or changes one (pass collection, its id from list_collections): its name, the line under it, its links in order, and whether it has a public page at snip.link/c/ that shows one button per live link, link-in-bio style. links replaces the collection's links in that order; leave it out to keep them. Free on every plan; the links themselves never change. Needs the user signed in to Snip.link.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The collection's name, shown on its page. | |
| slug | No | The page's address after /c/: lowercase letters, digits and dashes. Left out, one is made from the name. | |
| links | No | The links in order, each by short URL, ending or id (see list_links). Replaces the collection's links. | |
| public | No | true switches the public page on, false off. Off by default. | |
| collection | No | The id of the collection to change. Leave it out to create one. | |
| description | No | One line under the name on the page. null removes it. |