paperclip_add_comment
Post a markdown comment on a specified issue, with automatic audit trail via Run ID injection.
Instructions
Post a markdown comment on an issue. Run ID header injected automatically for audit trail.
Args:
issueId: string — Issue ID or identifier (example: "PAP-42")
body: string — Comment body in markdown (example: "@QA — ready for review on PAP-42. Changes: ...")
Returns: Returns the created comment object: id, body, authorId, authorType, createdAt.
Examples:
Use when: posting @-mention handoffs (e.g. @QA ready for review, @Engineer changes needed)
Don't use when: you also need to update issue fields — use paperclip_update_issue with a
commentfield instead
Error Handling:
400: validation failure → ensure body is non-empty
401: authentication failed → check PAPERCLIP_API_KEY
404: issue not found → verify ID with paperclip_list_issues
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": {
"issueId": "<issueId>",
"body": "<body>"
},
"name": "paperclip_add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueId | Yes | Issue ID or identifier (e.g. PAP-21) | |
| body | Yes | Comment body (markdown) |