rename_collection
Rename an existing Zotero collection with a dry-run default and sibling-name collision checks to prevent duplicate names under the same parent.
Instructions
Rename an existing Zotero collection.
Defaults to dry_run=True. Refuses sibling-name collisions
(a collection with the same new_name already under the same
parent) for hygiene; Zotero itself permits this.
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_name": "<new_name>"
},
"name": "rename_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| new_name | Yes | ||
| collection_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |