Labels

June 17, 2026 ยท View on GitHub

Project label CRUD.

Tools in this group


list_labels

๐Ÿ“– Read-only

List labels for a project

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
with_countsbooleanWhether to include issue and merge request counts
include_ancestor_groupsbooleanInclude ancestor groups
searchstringKeyword to filter labels by
pagenumberPage number for pagination (default: 1)
per_pagenumberNumber of items per page (max: 100, default: 20)

get_label

๐Ÿ“– Read-only

Get a single label from a project

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
label_idstringโœ“The ID or title of a project's label
include_ancestor_groupsbooleanInclude ancestor groups

create_label

โœ๏ธ Writes

Create a new label in a project

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
namestringโœ“The name of the label
colorstringโœ“The color of the label given in 6-digit hex notation with leading '#' sign
descriptionstringThe description of the label
prioritynumber | nullThe priority of the label

update_label

โœ๏ธ Writes

Update an existing label in a project

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
label_idstringโœ“The ID or title of a project's label
new_namestringThe new name of the label
colorstringThe color of the label given in 6-digit hex notation with leading '#' sign
descriptionstringThe new description of the label
prioritynumber | nullThe new priority of the label

delete_label

โœ๏ธ Writes

Delete a label from a project

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
label_idstringโœ“The ID or title of a project's label