copy_library
Copy files between Takes for Mac libraries—styles, projects, or comment data. Select specific paths or all files; token files merge, existing files are skipped, and move trashes source.
Instructions
Copy library files from one library to another: 'style:' or a project name (copy to a new 'style:' to start a new style from an old one). items are paths inside the library (README.md, tokens.json, assets/Logos/mark-v2.svg); omit for everything. tokens.json merges by token name; other existing files are skipped, never overwritten. move=true trashes the copied files in the source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | A library: 'style:<Name>' for one of the user's styles (e.g. 'style:Magazine'; a new name makes a new style), a project name for that project's own additions, or 'comments' for the comment copilot's files (lessons, target list, style guide). | |
| from | Yes | A library: 'style:<Name>' for one of the user's styles (e.g. 'style:Magazine'; a new name makes a new style), a project name for that project's own additions, or 'comments' for the comment copilot's files (lessons, target list, style guide). | |
| move | No | Move instead of copy. Default false. | |
| items | No | Paths inside the library. Omit for everything. |