{"name":"random-table","description":"Rolls on any custom random table you provide, with optional weights or classic die ranges. Accepts weighted entries ([{value, weight?}]) or die-range rows ([{min,max,result}] with a 'die'), any number of times, with or without replacement. Seedable. A generic random-selection utility for any custom table. Use it as a random table roller API, weighted random picker, or loot and rumor table roller.","price":"$0.005","method":"POST","input_schema":{"properties":{"entries":{"type":"array","description":"Weighted entries: [{ value, weight? }]. Use this OR table+die."},"table":{"type":"array","description":"Die-range rows: [{ min, max, result }]. Requires 'die'."},"die":{"type":"number","description":"Die sides for a range table (e.g. 100 for a d100 table)."},"rolls":{"type":"number","description":"How many results to draw, 1-100. Default 1."},"unique":{"type":"boolean","description":"Draw without replacement."},"seed":{"type":"number","description":"Optional integer seed."}},"required":[]},"input_example":{"entries":[{"value":"sword","weight":3},{"value":"shield"},{"value":"gem","weight":1}],"rolls":3,"seed":1},"output_example":{"mode":"weighted","rolls":3,"unique":false,"results":["shield","sword","sword"]},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}