Import bookmarks from HTML
import_htmlLoad bookmarks from an exported HTML file into a browser profile: append them to a folder or replace current bookmarks, with a dry-run preview before writing.
Instructions
Loads a bookmarks .html file (exported from any browser or from the web tool) into a profile. mode "append": everything goes inside a new folder (default "Imported") in Other bookmarks. mode "replace": the current bookmarks are removed and the file becomes the new bookmarks (its toolbar folder goes to the bookmarks bar). Dry run by default.
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": {
"input_path": "<input_path>"
},
"name": "import_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | append | |
| 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. | |
| input_path | Yes | ||
| folder_name | No | Folder used by append mode. | Imported |
| skip_existing | No | Append mode: skip pages that are already bookmarked. |