MCP tools

label_update write

Rename a label, change its colour, or delete it. Deleting removes the label from every issue that carried it, those issues surviving. Renaming onto a name that is taken is refused - there is no merge. delete cannot be combined with a rename or a recolour.

Arguments

NameTypeDescription
colournull | stringa new colour for the label's dot One of gray, blue, red, amber, violet, green.
deletebooleandelete the label instead of changing it. It is removed from every issue carrying it, and those issues are not deleted. Cannot be combined with name or colour
label requiredstringthe label's name or ULID, from label_list
namenull | stringa new name; renaming onto a name another label already has is refused rather than merging the two

Input schema

Exactly what tools/list serves.

input schema
{
  "additionalproperties": false,
  "properties": {
    "colour": {
      "description": "a new colour for the label's dot",
      "enum": [
        "gray",
        "blue",
        "red",
        "amber",
        "violet",
        "green"
      ],
      "type": [
        "null",
        "string"
      ]
    },
    "delete": {
      "description": "delete the label instead of changing it. It is removed from every issue carrying it, and those issues are not deleted. Cannot be combined with name or colour",
      "type": "boolean"
    },
    "label": {
      "description": "the label's name or ULID, from label_list",
      "type": "string"
    },
    "name": {
      "description": "a new name; renaming onto a name another label already has is refused rather than merging the two",
      "type": [
        "null",
        "string"
      ]
    }
  },
  "required": [
    "label"
  ],
  "type": "object"
}