Create, rename or remove a bookmark folder
browser_bookmark_folderCreate, rename, list, or remove Firefox bookmark folders, including toolbar, menu, and unfiled locations. Check a folder's child count before removal to avoid deleting its contents.
Instructions
Manage bookmark FOLDERS (the existing bookmark tools only handle individual bookmarks). MEASURED: PlacesUtils.bookmarks exposes insert/update/remove/search/fetch, and the root folders are addressed by the well-known guids (toolbar____, menu________, unfiled_____, root________). Removing a folder removes its contents, so check the child count first with action:"list".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guid | No | Folder guid, for rename / remove | |
| title | No | Folder title, for create / rename | |
| action | Yes | What to do | |
| parent | No | Where to create it (default: menu) |