Create Email Folder
create_email_folderCreates a mailbox folder in the Mac's Apple Mail (Mail.app), in one account. If Mail has more than one account, account is required: the tool refuses to guess where the folder goes (list_email_accounts gives the names). If a folder with that name already exists it creates nothing and says so. Reports created only after it sees the folder in the account's folder list; on an Exchange account, where Mail cannot confirm the folder with the server, it answers created=false with status server_unconfirmed: use m365_create_email_folder for that mailbox.
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>"
},
"name": "create_email_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Folder name | |
| account | No | Account name (optional, uses default) | |
| confirm | No | Ignored; kept for older clients. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| status | No | ||
| created | Yes | ||
| server_confirmed | No |