Create a folder or label
create_folder_or_labelCreate a label or folder in Proton Mail after confirming the exact name and type, preventing accidental 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.
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>",
"kind": "<kind>",
"confirmed": "<confirmed>"
},
"name": "create_folder_or_label"
}
}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 |