reparent_collection
Move a collection under a different parent, including the library root, while blocking cycles that would place a collection inside itself or a descendant.
Instructions
Move a collection under a different parent.
Pass new_parent_key=None to move to the library root.
Refuses cycles (re-parenting a collection under itself or one
of its descendants).
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": {
"collection_key": "<collection_key>",
"new_parent_key": "<new_parent_key>"
},
"name": "reparent_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| collection_key | Yes | ||
| new_parent_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |