Sort a folder
sort_folderSort folder contents alphabetically or by URL or date added, with folders first and optional recursion into subfolders. Keeps browser bookmarks organized while leaving the bookmarks bar untouched.
Instructions
Sorts the contents of a folder alphabetically, folders first. Use recursive to sort every subfolder too. Without folder_id, sorts everything except the bookmarks bar top level (whose order users usually choose by hand).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sort_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | name | |
| force | No | Write even if the browser seems to be open. Avoid: an open browser overwrites the file when it closes. | |
| dry_run | No | When true (default) nothing is written; the tool only reports what would change. Show that to the user and call again with dry_run=false after they confirm. | |
| profile | No | Profile id from list_profiles (e.g. "chrome:Default", "edge:Profile 1") or the full path to a Bookmarks file. Optional when only one profile exists. | |
| folder_id | No | ||
| recursive | No |