update-labels
Update existing labels: modify personal labels' name, color, order, or favorite status by ID, or rename shared labels by current name.
Instructions
Update one or more existing labels. Personal labels (identified by ID) can have their name, color, order, and favorite flag updated. Shared labels (identified by name) can only be renamed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labels | Yes | The labels to update. Use labelType="personal" with an ID to update a personal label, or labelType="shared" with name+newName to rename a shared label. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| totalCount | Yes | The total number of successful operations (personal + shared). | |
| updatedLabels | Yes | The updated personal labels. | |
| appliedOperations | Yes | Summary of operations performed. | |
| renamedSharedLabels | Yes | The shared labels that were renamed. |