Skip to content

extension_preview_web ​

Preview a build in the web emulator; share:true returns a link anyone opens with no install (the preview://build default is for developing extension.dev itself).

Quick start ​

Share this build with my designer

How the agent uses it ​

Tester links: extension_publish. Content scripts run only on sample pages, a limit of the preview only.

Reference ​

Groupplatform, on with --features=local,platform (private alpha)
TierPlatform
Needsthe server started with --features=local,platform; sharing needs a login
Read onlyno
Destructiveno
Idempotentno
Reaches the open webyes

Inputs ​

InputTypeRequiredDefaultWhat it does
projectPathstringyesExtension project root
projectstringnoStored login '<workspace>/<project>' when several exist.
browser"chrome" | "chromium" | "edge" | "brave" | "opera" | "vivaldi" | "yandex" | "firefox" | "waterfox" | "librewolf" | "zen" | "floorp" | "safari"no"chrome"dist/<browser> to preview; Firefox view for Firefox.
buildbooleannotrueBuild first.
distPathstringnoPreview this directory; implies build:false.
hostUrlstringnoLocal preview server origin.
probebooleannotrueCheck the artifact loads.
openbooleannofalseAlso open it in a live session.
openIn"chrome" | "chromium" | "edge" | "brave" | "opera" | "vivaldi" | "yandex" | "firefox" | "waterfox" | "librewolf" | "zen" | "floorp" | "safari"noSession browser to open in.
sharebooleannofalseUpload for share.previewUrl; metered against your plan's allowance, and hands over the code.

When it fails ​

  • The tool is missing from the client's list. Start the server with --features=local,platform; see Platform tools.
  • The platform refuses the call. Log in first with extension_auth.
  • The answer reads status: "platform-held". extension.dev is not open to the public yet, so nothing ran on its machines. Creating, running and building an extension still work on your machine; see Use the platform from your agent.
  • The answer depends on the network. This tool reaches the open web, so a refusal can be the network, not the project.

Next ​

  • MCP server: install, the two groups and the session gates
  • Install in your client
  • extension_approvals: Read or revoke one approval on extension.dev; revoke a pending or unused one approved by mistake (owner token).
  • extension_auth: Sign in to an existing extension.dev project (a code for extension.dev/device, then deviceCode and waitSeconds), list stored logins, or clear them.
  • extension_builds: Read, download, rebuild and configure platform builds.
  • extension_project_create: Create an extension.dev project from its GitHub repository, BEFORE extension_auth.
  • extension_publish: Publish a build on extension.dev: the link for testers, with a download and a run command for each browser; use it first to share or ship (no project yet: extension_project_crea...
  • extension_release_promote: Release a build to a channel on extension.dev.
  • extension_release_status: Read where a project stands on extension.dev: channels, builds, store submissions and reviews, history, rollout, listings.
  • extension_shares: List, create and revoke emulator preview links for a tester, and list and revoke build links (a build link or channel link comes from extension_publish).
  • extension_submit: Submit a platform build to the Chrome, Firefox, Edge and Safari stores through extension.dev.
  • extension_submit_check: Read a store submission or ask for an approval, under a read-only hint; it executes nothing.
  • extension_workspace: Read the workspace; change a project's settings.
  • extension_workspace_create: Create a missing extension.dev workspace, before extension_project_create.