Hide or unhide comment
hide_commentHide or unhide a comment (hidden:true hides it, false restores it; platforms do not support deleting other people's comments). Available only on platforms that support it; others return 409. (Required scope: cd.engagement.manage)
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": {
"accountId": "<accountId>",
"commentId": "<commentId>",
"hidden": "<hidden>",
"confirm": "<confirm>"
},
"name": "hide_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hidden | Yes | ||
| confirm | Yes | true = the user has approved this specific action. Without it the request is rejected with 409 AGENT_USER_CONFIRMATION_REQUIRED. | |
| accountId | Yes | ||
| commentId | Yes | ||
| workspaceId | No | Optional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to. |