{
  "tab": "ai",
  "section": "generateRegionDetails",
  "title": "Region Details",
  "summary": "Generates region descriptions, `factions`, and `locations`. A content-generation task — not narration. Use custom to shape geographic identity, faction character, and location types for generated `regions`.",
  "uiLocation": "AI Tasks → Region Details",
  "uiSubtitle": "\"Region Details Instructions\"",
  "editor": "Graphical form (labeled textareas)",
  "sizeLimits": [
    {
      "field": "Each string leaf under a task (`aiInstructions.<task>.<key>`)",
      "limit": "5,000 chars",
      "sections": [
        "ai/aiInstructions",
        "ai/generateStory",
        "ai/generateInitialStart",
        "ai/generateCharacterBackground",
        "ai/generateNPCDetails",
        "ai/generateNPCUpdates",
        "ai/generateLocationDetails",
        "ai/generateRegionDetails",
        "ai/generateFactionDetails",
        "ai/generateEncounters",
        "ai/generateItemGenerationAndUsage",
        "ai/generateActionInfo",
        "ai/generateNPCIntents",
        "ai/generateNewNPC",
        "ai/generateLearnedAbilities"
      ]
    },
    {
      "field": "Per task (`aiInstructions.<task>` total, sum of instruction chars)",
      "limit": "20,000 chars",
      "sections": [
        "ai/aiInstructions",
        "ai/generateStory",
        "ai/generateInitialStart",
        "ai/generateCharacterBackground",
        "ai/generateNPCDetails",
        "ai/generateNPCUpdates",
        "ai/generateLocationDetails",
        "ai/generateRegionDetails",
        "ai/generateFactionDetails",
        "ai/generateEncounters",
        "ai/generateItemGenerationAndUsage",
        "ai/generateActionInfo",
        "ai/generateNPCIntents",
        "ai/generateNewNPC",
        "ai/generateLearnedAbilities"
      ]
    }
  ],
  "related": "regions - the region records this task operates on; locationArchetypes - archetypes drawn on during generation; regionArchetypes - archetypes drawn on during generation",
  "wikiUrl": "/ai/generateRegionDetails",
  "schema": null,
  "body": "## Schema\r\n\r\n```json\r\n{\r\n  \"aiInstructions\": {\r\n    \"generateRegionDetails\": {\r\n      \"custom\": \"string\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n\r\n## Example\r\n\r\n```json\r\n{\r\n  \"aiInstructions\": {\r\n    \"generateRegionDetails\": {\r\n      \"custom\": \"## Region Generation\\nEach region should have a dominant geographic identity — don't generate generic 'wilderness'. Reflect the realm's political state in the region's faction presence and location naming. Minor factions should have a clear operational purpose (patrol, extraction, refuge, control). Locations should be 3–5 per region: one settlement, one wilderness site, one site of conflict or history.\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n\r\n## Fields\r\n\r\n### custom\r\n\r\nThe only key — free-form rules for content generated into new regions.\r\n\r\n## Authoring pattern\r\n\r\nCover in `custom`:\r\n\r\n- The dominant geographic and atmospheric identity for regions in this world.\r\n- How minor factions are named, structured, and motivated in your setting.\r\n- Location naming conventions and what types of sites are appropriate for the genre.\r\n- How realm politics and world history should colour newly generated regions."
}