Comment Tools
Add and read comments on work items.
Comments are the ambient work management layer. Use them to track decisions, progress notes, and context that would otherwise be lost. When auto_comments is enabled in your workspace settings, devto automatically adds status change comments.
add_comment
Adds a comment to any ticket. The simplest way to comment on a task, epic, or any issue.
When it runs: Called when you ask to add a comment or note to a ticket.
Example trigger: "Add a comment to the auth task: refresh tokens implemented"
| Parameter | Type | Required | Description |
|---|---|---|---|
| issue_key | string | Yes | Issue key or natural language reference |
| comment | string | Yes | Comment body text |
get_comments
Reads the 20 most recent comments on a ticket. Shows author, timestamp, and body.
When it runs: Called when you ask to see comments or discussion on a ticket.
Example trigger: "Show me the comments on the login bug"
| Parameter | Type | Required | Description |
|---|---|---|---|
| issue_key | string | Yes | Issue key or natural language reference |
delete_comment
Deletes a specific comment by ID. You can get comment IDs from get_comments.
When it runs: Called when you ask to remove a specific comment.
Example trigger: "Delete that last comment on the auth task"
| Parameter | Type | Required | Description |
|---|---|---|---|
| issue_key | string | Yes | Issue key or natural language reference |
| comment_id | string | Yes | Comment ID to delete |