Rename Collection
rename_collectionRenames a collection, addressed by its current name or id, and sets its smart filter. The new name must be free; an existing collection is never merged into. A query and/or a tag turn the collection into a smart one (its members are resolved by the search); an empty query removes the filter.
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": "<collection>",
"new_name": "<new_name>"
},
"name": "rename_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | The new tag filter. An empty string removes it. Leave the argument out to keep it. | |
| query | No | The new search query. An empty string removes it. Leave the argument out to keep it. | |
| new_name | Yes | The new collection name. | |
| collection | Yes | Current collection name or id. |