create_collection
Create a new Zotero collection at the library root or under a parent, with dry-run preview by default and duplicate detection to avoid creating existing folders.
Instructions
Create a new Zotero collection (folder).
Defaults to dry_run=True. If a collection with the same (name,
parent_key) already exists, returns status='already_exists' with
the existing key — no duplicate is created.
Args:
name: The collection name. Must be non-empty.
parent_key: Parent collection key, or None to create at the
library root.
dry_run: If True (default), report the preview without writing.
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": {
"name": "<name>"
},
"name": "create_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| dry_run | No | ||
| parent_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |