Export entire world to disk
export_worldExport a World Anvil world as local JSON files for backup or migration, including articles, images, maps, timelines, and secrets.
Instructions
Clone a COMPLETE world to a local directory as raw full-granularity JSON — articles, categories, secrets, map hierarchies (layers/groups/markers), timelines, histories, notebooks+notes, subscriber groups, world meta — plus downloaded image binaries and an entities.json id→{title,slug,file} index for rewriting @mention links during migration. Makes hundreds of API calls; takes minutes on a large world. Returns a summary; data goes to disk, NOT into context — read specific exported files afterwards if needed. Refuses to write into a non-empty directory that isn't a previous export. Requires an absolute output path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| world_id | Yes | UUID of the world to export | |
| output_dir | Yes | Absolute path of the directory to export into (created if missing) |