delete_label
Remove a label from a GitLab project to clean up issue tracking and project organization by specifying the project and label identifiers.
Instructions
Delete a label from a project
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": {
"project_id": "<project_id>",
"label_id": "<label_id>"
},
"name": "delete_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or URL-encoded path | |
| label_id | Yes | The ID or title of a project's label |
Implementation Reference
- schemas.ts:1161-1164 (schema)Zod input schema defining parameters for the delete_label tool: project_id (string) and label_id (string). This validates the tool's input.
export const DeleteLabelSchema = z.object({ project_id: z.string().describe("Project ID or URL-encoded path"), label_id: z.string().describe("The ID or title of a project's label"), });