Skip to content

extension_submit ​

Submit a platform build to the Chrome, Firefox, Edge and Safari stores through extension.dev.

Quick start ​

Dry run a Chrome and Firefox store submission of the latest build

How the agent uses it ​

Start with extension_submit_check action:'preflight' and follow value.nextStep. A real submit needs a workspace owner's token and approval of that exact submission, every time: extension_submit_check asks, and this tool runs the approvalId. Uploads land least public (Chrome and Edge drafts, Firefox unlisted, Safari TestFlight) unless a saved store mode says otherwise. For a link use extension_publish.

Reference ​

Groupplatform, on with --features=local,platform (private alpha)
TierPlatform
Needsthe 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 onlyno
Destructiveyes
Idempotentno
Reaches the open webyes

Inputs ​

InputTypeRequiredDefaultWhat it does
action"submit" | "status" | "preflight" | "sync-listing" | "cancel" | "rollout" | "release" | "publish" | "review" | "configure-store" | "connect" | "first-submission" | "mint-signing"no"submit"Per action: 'preflight', 'status' and submit with dryRun true (the default) are read-only; submit with dryRun:false and no approvalId executes nothing either, it only asks for the owner's approval, as does the first call of any store act; the approved approvalId runs it. submit: buildSha to the stores. preflight: readiness checks. status: each store's word. 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: page for a first Chrome or Edge upload. mint-signing (Safari): register the bundle id, mint certificates and profiles.
projectstringnoStored login '<workspace>/<project>' when several exist.
browsersarray of "chrome" | "firefox" | "edge" | "safari"noStores; submit, publish and sync-listing take several under one approval.
buildShastringnoCommit sha of a completed platform build (extension_builds).
versionstringnoOptional label; default the built manifest's version.
dryRunbooleannotruetrue (the default) dispatches nothing and does not run the owner gate, the approval, the build quota; false submits once approved and stops at the draft under the default modes unless a saved store mode says otherwise.
projectPathstringnoProject root; sync-listing needs it; nothing local is uploaded.
approvalIdstringnoFrom an approval-required answer, once approved; same arguments again. A real submission needs a workspace owner's approval every time.
screenshotsarray of stringnoWith sync-listing, PNGs in projectPath: Chrome 1-5 at 1280x800 or 640x400; Edge up to 6 at 1280x800 or 640x480; Safari 1-10 at 1280x800, 1440x900, 2560x1600 or 2880x1800; Firefox any. Up to 3 MB each.
useBuildstringnoWith sync-listing, a completed build's sha to take icons from.
detailboolean | arraynoWith preflight, true or a list like ["chrome", "safari.subtitle"] answers those rows in full.
apistringnoPlatform URL; default EXTENSION_DEV_API_URL.
store"chrome" | "firefox" | "edge" | "safari"noWith cancel or rollout (default chrome), release (safari) or configure-store (required).
storeSettingsobjectnoWith configure-store, only what changes; a publishing mode asks approval; no credentials; Safari release mode is STORE.md's - Release: line.
submissionIdstringnoWith cancel, publish or release, which submission; default the newest.
buildNumberintegernoSafari publish or release: TestFlight build number (default newest).
deployPercentagenumbernoWith rollout, the new share of users, 1 to 100, above the current one.
connectSessionstringnoWith connect, value.connectSession to wait on with waitSeconds.
replacebooleannoWith connect, true replaces a working key; only when asked.
waitSecondsnumbernoSeconds to wait for the result, 0 to 600 (default 180), and with approvalId for the approval.

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, no alpha.

StoreCountSizes
Chrome1 to 51280x800 or 640x400
Edgeup to 61280x800 or 640x480
Safari1 to 101280x800, 1440x900, 2560x1600 or 2880x1800
Firefoxoptionalany

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.
  • 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 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 the approvalId.
  • The approval is refused as ApprovalExpired. An approval lasts 15 minutes. Call again with no approvalId to 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 no approvalId.
  • A rollout is refused with ROLLOUT_NOT_STAGED. Chrome publishes this project to everyone at once. 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 with extension_release_status and include: ["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 with include: ["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 with extension_auth and 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 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_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).
  • 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_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.