{"uid":"cap_fo_1pGO-YktoizoC12VMR","slug":"x402-toolbox-dice-roll-2602d4d7","name":"x402-toolbox Dice Roll","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/math/dice-roll?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wMgSWu8bCm2Vjj0yh79ar","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Simulates a dice roll and returns a random result, paid per-call via x402 USDC micropayment.","exampleAgentPrompt":"Roll two six-sided dice for me right now — I need a random result for my board game.","exampleUseCases":[{"title":"Tabletop game dice roll","prompt":"Roll a d20 for me — I'm playing D&D and need a random attack roll result."},{"title":"Random number for decision making","prompt":"I can't decide between three options, roll a three-sided dice to help me pick one at random."},{"title":"Dice roll for game simulation","prompt":"Simulate rolling two six-sided dice for a Monopoly game — tell me the total and individual values."}],"resultDescription":"Returns a JSON object with ok:true, paid:true, and the dice roll result (e.g. face values, total) based on the requested dice schema.","failureModes":["Payment not included or insufficient USDC — returns 402 Payment Required","Invalid or malformed schema parameter — may return an error or unexpected result","Cloudflare Worker downtime — service unavailable 503","Missing schema parameter — may default to a standard single d6 roll or return an error"],"whenToPreferThis":"Choose this endpoint when you need a trustless, no-signup dice roll computation paid via USDC micropayment on Base. Ideal for AI agents that need randomness in gaming, simulations, or decision-making scenarios and are already operating in the x402 payment ecosystem. Prefer this over free alternatives when operating in a pay-per-call agent framework where payment doubles as identity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:42:49.307Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-dice-roll-2602d4d7"}