Docs

Built-in tools›Preview

Stop preview

preview_stop
Group
Preview
Turned on by
Any other preview tool being on.
Approval
Reviewed: writes and open-ended actions ask for approval unless the security level or an earlier “Always allow” covers them.
Profile key
tool.preview_stop.description

Stops one of the conversation's dev servers, together with every process it started.

The server ID is the entry's name in .mework/launch.json. When the file repeats a name, the copies are name-1, name-2 and so on, in the order they were first started.

Good to know

  • It reaches the servers this conversation started, including ones you started from the pane in it, but not another conversation's servers.
  • Stopping a server also closes the page that showed it.
  • An entry that only opens a url has no process to stop.

Parameters

ParameterTypeDetails
serverId required
Server ID
stringServer ID to stop: the server's name in .mework/launch.json, numbered (e.g. dev-2) when the file repeats that name

Edit this page on GitHub