extension_stop
Stop a dev or start session, naming the server and browser pid it ended.
Quick start
Stop the running session and close its browser
Asked to stop, the agent ends the session and names the server and browser it shut down.
How the agent uses it
Call it when done.
Reference
| Group | local, on by default |
| Tier | Run |
| Needs | a live dev or start session |
| Read only | no |
| Destructive | yes |
| Idempotent | yes |
| Reaches the open web | no |
Inputs
| Input | Type | Required | Default | What it does |
|---|---|---|---|---|
projectPath | string | no | Project root; optional when exactly one project has a live session. | |
browser | string | no | Session browser; default the only live one. | |
all | boolean | no | false | Stop every session; across projects needs confirm. |
confirm | boolean | no | false | With all: confirm the listed stop. |
includeOtherServers | boolean | no | false | With all: include other servers' sessions. |
When it fails
- The call is refused because no session is live. Start one with
extension_devorextension_startand call again.
Next
- MCP server: install, the two groups and the session gates
- Install in your client
extension_dev: Run the extension while you edit it (dev build, hot reload, browser): the first call for "run my extension".extension_start: Run the PRODUCTION build in a browser (extension_dev is for writing code); no hot reload or extension_logs.extension_try: Run a published extension.dev build in a fresh profile on this machine, no install, and screenshot it; warn the person about what it can reach.extension_wait: Wait for a session to be ready, or for: "rebuild" after an edit; only after wait:false, a ready.status not "ready", or noBrowser; answers port, controlPort and cdpPort or rdpPort.