Labels
update_project_label
Update project label ยท Changes data, idempotent
Edit an existing account-owned reusable project label.
- Project labels are reused across project groups.
- Find
label_idwithlist_project_labels. - Omitted fields stay unchanged; supply at least one editable field.
- Does not change label assignments or require removal confirmation.
- Do not blindly repeat creation after a lost response; read the catalog first.
Cost and limits: Consumes 5 credits after the write succeeds, even if its response is lost.
Input
| Name | Type | Required | Description |
|---|---|---|---|
label_name | string | Optional | Label name, trimmed to 1 to 25 Unicode characters. Maximum length 256. |
color | string | Optional | Label color. Creation defaults to gray; omitted edits keep it. One of gray, green, yellow, orange, red, purple, lilac. |
pin | boolean | Optional | Whether pinned in the app catalog. Creation defaults to false. |
label_id | integer | Required | Label ID from this catalog's list tool. Minimum 1. Maximum 2147483647. |
Output
Read this object from the result's structuredContent. The result's content carries a text version for the model, which is not always the same JSON.
Fields of data:
| Name | Type | Required | Description |
|---|---|---|---|
label_id | integer | Required | Minimum 1. Maximum 2147483647. |
label_name | string | null | Required | |
color | string | null | Required | |
pin | boolean | null | Required |
Full input and output JSON Schema
Code