duplicate_folder
Duplicate a folder: recreates its subfolder tree and copies its assignments (same posts, brief and tags, fresh 'pending' status). Use owner_model to clone a template folder (e.g. 'Beginner content') for a NEW creator: every copied assignment is then assigned to her. Drive links are not copied (use set_drive_folder on the copy).
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": {
"folder": "<folder>"
},
"name": "duplicate_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | Source folder (id, name or full path) | |
| parent | No | Where to create the copy: parent folder (id, name or path), 'root', or empty = same parent as the source. | |
| new_name | No | Name of the copy. Empty = '<source name> (copy)'. | |
| owner_model | No | Creator to assign ALL copied assignments to (name, email or model_id). She also owns the copy when it is a root folder. Empty = keep each assignment's original creator. | |
| copy_assignments | No | Also copy the assignments (false = folder tree only) |