add_task_comment
Add a comment to a task using task ID and content. Mention team members by name or user ID to prepend a highlighted mention and trigger notifications.
Instructions
태스크에 댓글(멘션)을 작성한다. 필수: task_id, content(본문).
content는 평문으로 넘기면 GDC 리치텍스트(HTML)로 변환해 저장한다(이미 HTML이면 통과). mentions에 멤버 이름 또는 user id 리스트를 주면 각 멤버를 해석해 본문 맨 앞에 하이라이트 멘션 한 줄(GDC 에디터와 동일한 멘션 노드 — 화면에 볼드+강조색으로 표시)을 붙인다 → 서버가 이를 파싱해 멘션 알림을 발송한다. (멘션은 본문 선두에만 배치되며, 본문 중간 커서 위치 삽입은 지원하지 않는다.) 비멤버를 멘션하면 가능한 멤버 목록과 함께 오류로 안내한다.
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": {
"task_id": "<task_id>",
"content": "<content>"
},
"name": "add_task_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| task_id | Yes | ||
| mentions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||