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).
Post a markdown comment (@mentions notify + grant context access).
| Required permission | work:write |
| Capability ID | comments.create |
| Destructive | No |
Parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
body | string | yes | |
parentId | string (uuid) | no | |
workItemId | string (uuid) | yes |
Input schema (JSON Schema)
{
"type": "object",
"properties": {
"body": {
"type": "string",
"minLength": 1,
"maxLength": 10000
},
"parentId": {
"type": "string",
"format": "uuid"
},
"workItemId": {
"type": "string",
"format": "uuid"
}
},
"required": [
"body",
"workItemId"
],
"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.
MCP tools
Browse all 49 RyTask MCP tools — the actions an AI agent can take over the Model Context Protocol, each with its required permission and JSON input schema.
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).