create_label
Creates a label in a connected mailbox, optionally nested using Parent/Child, without changing any messages; returns an existing label unchanged.
Instructions
Create a label (use "Parent/Child" to nest). Changes no message. A label that already exists is returned as it is.
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": {
"mailbox": "<mailbox>",
"name": "<name>"
},
"name": "create_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| mailbox | Yes | A connected mailbox address (see list_mailboxes) |