{"uid":"cap_PQv2sbzqTAb0ya-Ufrl1t","slug":"coco-random-value-generator-b2cbb976","name":"CoCo Random Value Generator","description":"Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.","url":"https://cocoeatsai.com/area4/agent/tools/random?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object","properties":{"max":{"type":"string"},"min":{"type":"string"},"kind":{"type":"string"},"count":{"type":"string"},"options":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"const":"json"},"example":{"type":"object","required":["kind"],"properties":{"kind":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"kind":"number","values":[89]},"exampleNote":"Computed offline with demonstration inputs; time/random values are illustrative."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vqE3IlDT53e55IqizVoGj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates random numbers or values within a specified range and of a given type, returning one or more results per call.","exampleAgentPrompt":"Give me 3 random numbers between 1 and 100 using CoCo's random tool.","exampleUseCases":[{"title":"Random dice roll for board game","prompt":"Roll a random integer between 1 and 6 for me, just one value — like a dice roll."},{"title":"Bulk random sampling for simulation","prompt":"Generate 10 random numbers between 0 and 1000 for a Monte Carlo simulation I'm running."},{"title":"Random picker from custom options","prompt":"Pick one random option from my list — I need a single random value between 1 and 5 of kind 'integer'."}],"resultDescription":"A JSON object containing the 'kind' field indicating the type of value generated, and a 'values' array holding the requested number of random results (e.g. {\"kind\":\"number\",\"values\":[89]}).","failureModes":["Invalid or non-numeric min/max causes schema validation error","Count parameter out of expected range may result in error or empty values array","Malformed query parameters may return 400-level error","Payment not included or insufficient funds results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a simple, fast, pay-per-call random value generator without standing up your own infrastructure. Suitable for lightweight agent workflows needing randomness (dice rolls, sampling, random selection) where a micro-payment model is acceptable. Not suited for cryptographically secure random generation or high-volume batch jobs requiring thousands of values per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:44:38.352Z","isFirstParty":false,"canonicalSlug":"coco-random-value-generator-b2cbb976"}