RyTask docs
MCP tools

add_label_to_issue

Attach a label to a work item (by id or name; create-on-capture) — a RyTask MCP tool for AI agents over the Model Context Protocol (requires the work:write permission).

View as MarkdownOpen in ChatGPTOpen in Claude

Attach a label to a work item (by id or name; create-on-capture).

Required permissionwork:write
Capability IDworkItems.addLabel
DestructiveNo

Parameters

ParameterTypeRequiredNotes
idstring (uuid)yes
labelIdstring (uuid)no
namestringno

Input schema (JSON Schema)

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "labelId": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 60
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

Access control

A call succeeds only when the personal access token's scopes and the holder's role both allow work:write (effective permission = scope ∩ role, default-deny). The tool runs inside the token owner's organization — tenancy is never a parameter.

On this page