30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

BuddyBoss Manage Activity Comment

buddyboss/manage-activity-comment comments on an activity item, edits an existing comment, or deletes one.

Deleting a comment also deletes any replies nested beneath it.

At a glance

Abilitybuddyboss/manage-activity-comment
ToolsetBuddyBoss — toolset/buddyboss
GroupBuddyBoss › Activity
RequiresAcrossAI Pro, plus BuddyBoss Platform active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableNot idempotent — each call changes the row set, so re-running is not a no-op
Ships inAcrossAI Pro 0.9.16 and later

How it works

The nesting is the thing to watch. A comment with three replies is four deletions, and the response reports how many went — which is after the fact, so reading the thread with buddyboss/get-activity first is how you know beforehand.

This is the smaller-scoped sibling of buddyboss/delete-activity. Removing one objectionable comment from an otherwise fine discussion is this ability; removing the whole discussion including the item it hangs on is that one.

action=create needs an activity_id and content, and can nest under another comment with parent_id.

Comments inherit the visibility of the item they are on, so a comment on a public item is public regardless of where it was posted.

Not idempotent when creating.

Input

NameTypeRequiredWhat it is
actionstringYescreate, update or delete.
activity_idintegerFor createThe item to comment on.
comment_idintegerFor update and deleteWhich comment.
contentstringFor create and updateThe comment text.
parent_idintegerNoNest under this comment.

What comes back

NameTypeWhat it is
commentobjectThe comment after the write.
replies_deletedintegerHow many nested replies went, on delete.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Remove that one off-topic comment.

It resolves to one call:

{
  "ability": "buddyboss/manage-activity-comment",
  "parameters": {
    "action": "delete",
    "comment_id": 9311
  }
}

Worth knowing

  • Deleting a comment deletes its nested replies.
  • Read the thread first to know how many that is.
  • Comments inherit the item’s visibility.
  • Not idempotent when creating.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading