Reload an extension
reload_extensionRefresh an unpacked Chrome extension to apply code changes, optionally reloading manifest.json, and get a cursor for log entries recorded since the refresh.
Instructions
Reload an unpacked Chrome extension so it picks up changes to its code. Pass reloadManifest if manifest.json changed too, and the result will say whether that looks like it worked. Only extensions that have called stdout() can be reloaded. Returns a cursor to pass as after to get the entries logged since the reload.
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": {
"extension": "<extension>"
},
"name": "reload_extension"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| browser | No | The browser to reload it in, by the name or ID that list_sources shows. Only needed when the extension is in more than one browser. | |
| extension | Yes | The extension to reload, by ID or exact name. | |
| reloadManifest | No | Also read manifest.json again. Needs the current stdout-mcp library, with stdout() called when the service worker starts. Defaults to false. |