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".
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": {
"action": "<action>"
},
"name": "browser_bookmark_folder"
}
}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) |