buddyboss/act-on-activity sets whether an activity item is favourited or marked as spam.
Pass the state you want as a boolean. Both are safe to retry.
At a glance
| Ability | buddyboss/act-on-activity |
| Toolset | BuddyBoss — toolset/buddyboss |
| Group | BuddyBoss › Activity |
| Requires | AcrossAI Pro, plus BuddyBoss Platform active on the site |
| Capability | manage_options |
| Safety | Writes data |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Pro 0.9.16 and later |
States, not toggles
The item is read first and nothing is sent when it is already in the requested state, which is what makes this safe to retry. A toggle would undo itself on a second call — which is exactly what BuddyBoss’s own route does.
That matters for any caller that might retry after an uncertain response, and it matters more when the operation is moderation: unspamming something by accident because a retry flipped it back is a bad outcome.
Marking as spam is the reversible way to take something out of the feeds. The item survives, its comments survive, and unmarking restores it.
buddyboss/delete-activity is the permanent alternative, and it destroys every comment on the item as well — so spam is almost always the better first move.
Favouriting is a member-facing action rather than a moderation one, and it is included here because it shares the same state-not-toggle shape.
Idempotent, and changed reports whether anything actually moved.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
activity_id | integer | Yes | The activity item. |
spam | boolean | No | The spam state you want. |
favourite | boolean | No | The favourite state you want. |
What comes back
| Name | Type | What it is |
|---|---|---|
activity_id | integer | The item. |
changed | boolean | Whether anything actually changed. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present 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:
Mark that post as spam.
It resolves to one call:
{
"ability": "buddyboss/act-on-activity",
"parameters": {
"activity_id": 9102,
"spam": true
}
}Worth knowing
- States, not toggles. Safe to retry.
- Spam is reversible; deletion is not, and takes the comments too.
changeddistinguishes a no-op from a change.- Idempotent.
Related abilities
- BuddyBoss Delete Activity — the permanent alternative
- BuddyBoss List Activity — review what is marked as spam
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category