extension_submit
Submit an extension.dev build to the Chrome, Firefox, Edge and Safari stores.
Quick start
Dry run a Chrome and Firefox store submission of the latest build
How the agent uses it
A call without approvalId, or extension_approvals_request, asks an owner to approve that exact act; the call carrying it runs it, every time; extension_submission_read answers preflight and dry runs, extension_release_read reviews, extension_release_promote channels. Uploads land least public (Chrome and Edge drafts, Firefox unlisted, Safari TestFlight) unless a saved store mode says otherwise.
Page text in the answer
Part of this tool's answer is text a web page or the extension wrote. The server fences it between <untrusted-data-ID> and </untrusted-data-ID> with a fresh random ID per call, named in untrusted.boundary. A fence is a signal to the model, not a gate: pair it with --no-ship when the agent reads pages you do not trust. See Server flags and telemetry.
Reference
| Group | platform, on with --features=local,platform (private alpha) |
| Tier | Platform |
| Needs | the server started with --features=local,platform, and a login; dryRun: false, cancel, rollout, release, publish, sync-listing and configure-store need a workspace owner's approval |
| Read only | no |
| Destructive | yes |
| Idempotent | no |
| Reaches the open web | yes |
Inputs
| Input | Type | Required | Default | What it does |
|---|---|---|---|---|
action | "submit" | "sync-listing" | "cancel" | "rollout" | "release" | "publish" | "review" | "configure-store" | "connect" | "first-submission" | "mint-signing" | no | "submit" | An act with no approvalId runs nothing and asks the owner's approval, answering its link; submit with dryRun true rehearses; extension_submission_read answers 'preflight', 'status'. submit: buildSha to the stores. sync-listing: listing from STORE.md. publish (alias review): draft to review. release (Safari): approved version on sale. cancel: withdraw from review. rollout: raise Chrome's staged rollout. configure-store: storeSettings. connect: page where the person gives the platform the key. first-submission: a first Chrome, Edge, Firefox or App Store (Safari) listing. mint-signing (Safari): register the bundle id, mint certificates and profiles. |
project | string | no | '<workspace>/<project>' login to use when several are stored. | |
workspace | string | no | connect: a workspace, for its shared account. | |
browsers | array of "chrome" | "firefox" | "edge" | "safari" | no | Stores; submit, publish and sync-listing take several under one approval. | |
buildSha | string | no | Commit sha of a completed platform build (extension_builds_read). | |
version | string | no | Label; default the built manifest's version. | |
dryRun | boolean | no | Omitted: submit dry runs, other actions run. true sends nothing: sync-listing answers what it would write, other acts run nothing. false submits once approved and stops at the draft under the default modes. | |
projectPath | string | no | Project root, for sync-listing; nothing local is uploaded. | |
approvalId | string | no | Once approved, with the same arguments; a real submission needs a workspace owner's approval every time. | |
screenshots | array of string | no | sync-listing: PNG screenshots in projectPath. | |
useBuild | string | no | sync-listing: a completed build's sha for icons. | |
detail | boolean | array | no | true, or ["chrome", "safari.subtitle"], answers those readiness rows in full. | |
api | string | no | Base URL; omitted: EXTENSION_DEV_API_URL, else extension.dev. | |
store | "chrome" | "firefox" | "edge" | "safari" | no | cancel, rollout (default chrome), release (safari), configure-store (required). | |
storeSettings | object | no | configure-store: only what changes; a publishing mode asks approval; no credentials; Safari release mode is STORE.md's - Release: line. | |
submissionId | string | no | cancel, publish, release: the submission; default newest. | |
buildNumber | integer | no | Safari publish or release: TestFlight build number (default newest). | |
deployPercentage | number | no | rollout: new share of users, 1 to 100, above the current one. | |
connectSession | string | no | connect: value.connectSession to wait on. | |
replace | boolean | no | connect: true replaces a working key; only if asked. first-submission: true refills a stopped or finished Chrome fill. | |
waitSeconds | number | no | Seconds to wait for the result (with approvalId, the approval), 0 to 600 (omitted: 180, no wait for the approval; status, connect, first-submission: 0; a guided connect: 180); the hosted server waits at most 45 and says so in warnings. |
Store screenshots
sync-listing with no screenshots argument reads store/screenshots/chrome/, store/screenshots/edge/, store/screenshots/firefox/ and store/screenshots/safari/ inside projectPath, in filename order, for each store in browsers. extension_screenshot with store writes them there, one call per view. A file that is not one of its store's sizes, or a count over the store's cap, is refused before any approval. PNG only; Chrome and Safari refuse an alpha channel.
| Store | Count | Sizes |
|---|---|---|
| Chrome | 1 to 5 | 1280x800 or 640x400 |
| Edge | up to 6 | 1280x800 or 640x480 |
| Safari | 1 to 10 | 1280x800, 1440x900, 2560x1600 or 2880x1800 |
| Firefox | up to 10, optional | any |
Apple's review wants the Safari set to show the extension running in Safari, so capture it with store: "safari" on a Safari dev session; see Run on Safari. The public page shows each store's set on that browser's build page.
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_login. - The answer reads
status: "platform-held". extension.dev is not open to the public yet and this workspace was not let in early, 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 reads
status: "approval-required". The act needs a person's approval. Open the approval URL in the answer, approve it, then call again with the same arguments and theapprovalId. - The approval is refused as
ApprovalExpired. A release, submit or store approval lasts 12 hours; a share link or build settings approval lasts 2 hours, and approving does not extend the clock. Call again with noapprovalIdto ask for a fresh one. - The approval is refused as
ApprovalConsumed. An approval runs its act once, and the call that spent it may already have run. Read the current state first, then ask again only if the act did not happen. - The approval is refused as
ApprovalScopeMismatch. It covers a different act, or the arguments changed since it was approved. Call again with noapprovalId. - A rollout is refused with
ROLLOUT_NOT_STAGED. This project has no Chrome staged rollout to raise. Turn on staged publish in the project's Chrome store settings in the console; it applies from the next submission. - A rollout is refused with
ROLLOUT_NOT_HIGHER. A staged rollout only goes up. Read the current share withextension_release_readandinclude: ["rollout"]. - A cancel is refused with
SUBMISSION_NOT_IN_REVIEW. Only a submission the store is still reviewing can be withdrawn. Read its review state withinclude: ["stores"]. - A cancel or a rollout answers
status: "needs-owner". Both need a login approved by a workspace owner. Ask a workspace owner to sign in withextension_auth_loginand run it, or make the change in the console. - 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 three groups and the session gates
- Install in your client
extension_approvals_read: List the open approvals this login asked for on extension.dev, or read one.extension_approvals_request: Request a workspace owner's approval of one act on extension.dev: a store submit, a release, a public visibility or channel, a slug rename or a share revoke.extension_approvals_revoke: Revoke an approval granted by mistake on extension.dev (owner token).extension_auth_login: Sign in to an extension.dev project (a code on the linked device page, then deviceCode), or clear stored logins.extension_auth_read: List the extension.dev logins stored on this machine.extension_builds_act: Rebuild, recheck or configure builds on extension.dev, or set up channels; extension_builds_read reads, extension_build and extension_analyze work locally.extension_builds_download: Download a verified package of an extension.dev build to this machine.extension_builds_read: Read builds made on extension.dev: list recent ones, get one, or read its logs.extension_preview_web: Preview a build in the web emulator; share:true returns a link that needs no install.extension_project_create: Create an extension.dev project from a folder (projectPath, uploaded, no push; again: re-seed and rebuild) or a GitHub repo, BEFORE extension_auth_login.extension_publish: Publish and share a build through extension.dev: answers the tester link, a page with a download and a run command for each browser (no project yet: extension_project_create).extension_release_promote: Release a build to a channel on extension.dev, cut a version-bump pull request, or roll a channel back.extension_release_read: Read where a project stands on extension.dev: channels, builds, store submissions and reviews, history, rollout and listings.extension_shares_manage: Create an emulator preview link, or revoke a preview or build link, on extension.dev.extension_shares_read: List a project's emulator preview links and build links on extension.dev.extension_submission_read: Read a project's store state: preflight answers what each store needs, status the submissions, dry-run a rehearsed submit.extension_workspace_configure: Change a project's settings, visibility or build environment.extension_workspace_create: Create a missing extension.dev workspace, before extension_project_create; the personal workspace always exists.extension_workspace_read: Read the extension.dev workspace: info, projects, usage and settings.