Add a demo to a collection
add_to_collectionAdds a demo to a collection’s list (at the end, or at 0-based position), optionally with a title and description shown there instead of the demo’s own. Only live demos appear to viewers. Adding a demo that is already in it changes nothing.
Requires: demos:read, demos:write.
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": {
"collectionId": "<collectionId>",
"demoId": "<demoId>"
},
"name": "add_to_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| demoId | Yes | Demo id (from list_demos), e.g. "d_Ab12Cd34Ef56Gh78". | |
| position | No | ||
| description | No | ||
| collectionId | Yes | Collection id (list_collections). |