create_label
Create a new label in Zoho Mail to organize emails by providing account ID and display name, with optional color for customization.
Instructions
Create a new label.
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": {
"account_id": "<account_id>",
"display_name": "<display_name>"
},
"name": "create_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | #ffd700 | |
| account_id | Yes | ||
| display_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Response data | |
| error | No | Error message if any | |
| success | Yes | Whether the operation was successful | |
| status_code | No | HTTP status code |