Create a folder or label
create_folder_or_labelCreate a new folder or label in Proton Mail. Confirm the name and type, or preview with dry_run before making changes.
Instructions
Create a new label or folder. GATED: it changes your folder and label structure, so confirm the exact name and type with the user, then call with confirmed=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | Name only, no 'Labels/' or 'Folders/' prefix. | |
| dry_run | No | Preview exactly what would happen and change nothing. Needs no confirmation. | |
| confirmed | Yes |