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

Start free trial

BuddyBoss Manage Document Folder

buddyboss/manage-folder manages the folders that hold documents.

Folders nest, and that nesting has two consequences that both cascade.

At a glance

Abilitybuddyboss/manage-folder
ToolsetBuddyBoss — toolset/buddyboss
GroupBuddyBoss › Media & Documents
RequiresAcrossAI Pro, plus BuddyBoss Platform active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

Privacy and deletion both cascade

Folders nest and push their privacy and group down to everything inside them, so setting a folder to public can expose every document beneath it in one call — including documents in sub-folders this request never mentions. The delete action removes the folder and its entire subtree, and confirm_item_count must match the total number of documents and sub-folders underneath, not just the direct children.

How it works

The first is privacy. A folder pushes its privacy and group down to everything inside it, at every level. Setting a folder to public exposes every document beneath it — including documents in sub-folders that were never mentioned and whose own privacy said otherwise.

That is a single call that can change access to hundreds of files, and nothing in the request describes the scope.

The second is deletion. Deleting a folder removes its entire subtree, and confirm_item_count must match the total number of documents and sub-folders underneath — not just the direct children.

Using the total rather than the direct count is the whole point: a folder with two direct children and ninety files three levels down is a deletion nobody would authorise if they knew, and the count is how they find out.

Albums for photos and videos are flat and handled by buddyboss/manage-album. The absence of nesting is why that one is simpler.

Idempotent for the non-delete actions.

Input

NameTypeRequiredWhat it is
actionstringYeslist, create, update or delete.
folder_idintegerFor update and deleteWhich folder.
titlestringFor createThe folder title.
parent_idintegerNoNest under this folder.
privacystringNoFolder privacy. Propagates down the entire subtree.
group_idintegerNoWork with a group’s folders.
confirm_item_countintegerFor deleteThe total documents and sub-folders underneath, at every level.
confirmbooleanYes — must be trueThe irreversibility gate. Without it the call is refused before anything is touched.

What comes back

NameTypeWhat it is
folderobjectThe folder after the write.
items_deletedintegerHow much of the subtree 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:

Make the handbook folder visible to everyone.

It resolves to one call:

{
  "ability": "buddyboss/manage-folder",
  "parameters": {
    "action": "update",
    "folder_id": 22,
    "privacy": "public"
  }
}

Worth knowing

  • Privacy propagates through the whole subtree, including sub-folders you did not name.
  • Deletion takes the entire subtree.
  • The confirmation count is the total, not the direct children.
  • Albums are flat and do none of this.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading