spawn_asset_sync
Syncs your asset bank with your Spawn account by fetching server-side specs for every game you own, capturing assets that local scans miss. Run it to populate an empty bank or refresh when assets are stale.
Instructions
Sync the asset bank with your Spawn ACCOUNT: list every game you own, fetch each one's current server-side spec, and harvest the cdn/ assets it actually uses. This is the authoritative fill — it covers games you have no local checkout of, and assets a teammate or Savi added that never landed on your disk, neither of which a local spawn_asset_scan can see. SLOW BY DESIGN: one spec fetch per game, each carrying every script source, so expect seconds to low minutes on a large account. Run it once to populate an empty bank, and again when the other asset tools say the bank is stale. There is no asset API on Spawn — the specs are the only account-wide record of which assets exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | dev = current head, what agents push to (default). live = the published snapshot players see. | dev |
| projectDir | No | Project whose .env supplies the agent key. Defaults to SPAWN_PROJECT_DIR or the MCP process cwd. | |
| variantIds | No | Sync only these games. Defaults to every game on the account. |