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).
Attach a label to a work item (by id or name; create-on-capture).
| Required permission | work:write |
| Capability ID | workItems.addLabel |
| Destructive | No |
Parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string (uuid) | yes | |
labelId | string (uuid) | no | |
name | string | no |
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.
add_comment
Post a markdown comment (@mentions notify + grant context access) — a RyTask MCP tool for AI agents over the Model Context Protocol (requires the work:write permission).
add_project_member
Add a member to a project at a role (ADMIN/MEMBER/VIEWER) — a RyTask MCP tool for AI agents over the Model Context Protocol (requires the work:write permission).