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).
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) |