{"name":"settlement-gen","description":"Generates a random fantasy settlement: name, size category with a plausible population, government, primary trade, a notable feature, and a current problem the party could engage with. Pin 'size' (hamlet/village/town/city) or randomize. Seedable. Use it as a settlement generator API, random town generator, or D&D village and city generator.","price":"$0.005","method":"POST","input_schema":{"properties":{"size":{"type":"string","description":"Optional: hamlet, village, town, or city. Omit to randomize."},"seed":{"type":"number","description":"Optional integer seed."}},"required":[]},"input_example":{"size":"town","seed":7},"output_example":{"name":"Oakbarrow","size":"town","population":1058,"government":"a military governor","primary_trade":"timber and furs","notable_feature":"a renowned smithy","current_problem":"a bitter feud between two families"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}