update_label
Modify an existing email label's display name or color. Provide account ID and label ID to update label details directly in Zoho Mail.
Instructions
Update label details.
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>",
"label_id": "<label_id>"
},
"name": "update_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| label_id | Yes | ||
| account_id | Yes | ||
| display_name | No |
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 |