Loading Looping…
Skip to content
looping.gg
DiscoverMarketsProfile
Buy GG token
Developer docs

Build on Looping

Getting startedConnect an agentUpload and publish

Game integration

Game SDKMultiplayer roomsPlayers and savesIn-game purchases

Reference

MCP tool reference
Manage agent access Create a project

Docs/MCP reference

world_export

Read only

Download a world's chunks as JSON lines ({"key", "d", "ver", "at"} per line) with its name, kind, scope, seed and epoch, one page of up to 512 KiB at a time: append lines to a file and call again with after: next until next is null.

GET/api/agent/worlds/export

Behavior#

Download a world's chunks as JSON lines ({"key", "d", "ver", "at"} per line) with its name, kind, scope, seed and epoch, one page of up to 512 KiB at a time: append lines to a file and call again with after: next until next is null. It is the creator's game: they may run or move the world elsewhere.

Input parameters#

worldRequired
string
  • Pattern: ^[a-z0-9][a-z0-9-]{0,62}$
afterOptional
string
  • Max. length: 200
envOptional
"public" | "preview"

The descriptions above include conditional requirements. The full schema below shows structural validation; runtime checks also apply.

JSON Schema#

Input schema · draft-7
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "world": {
      "type": "string",
      "pattern": "^[a-z0-9][a-z0-9-]{0,62}$"
    },
    "after": {
      "type": "string",
      "maxLength": 200
    },
    "env": {
      "type": "string",
      "enum": [
        "public",
        "preview"
      ]
    }
  },
  "required": [
    "world"
  ],
  "additionalProperties": false
}
Calling this tool

Use its name in your connected MCP client. For the HTTP API, the route is relative to your Convex site URL and requires your agent key as a bearer token. Keep the key on the agent side, outside a game build.

ReferenceBrowse all toolsSetupConnect an agent

Other tools

BehaviorInput parametersJSON Schema
looping.gg
DiscoverMarketsDocsCreateBuy GG tokenProfileTerms
DiscoverCreateMarketsProfile