{"uid":"cap_Fw-620oeR1R7m39uuyG9F","slug":"agent-data-tools-dice-roller-b47e98b1","name":"Agent Data Tools: Dice Roller","description":"Roll dice in standard notation such as 2d6+3 or 1d20, up to 100 dice of up to 1000 sides, with a cryptographic random source. Returns every roll, the modifier and the total. Use for tabletop games and simulations.","url":"https://agent-data-tools.revmesh2074.workers.dev/dice?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"roll":{"type":"string","description":"Dice notation, e.g. 2d6+3 (default 1d6)"}}},"responseSchema":{"type":"object","properties":{"roll":{"type":"string"},"rolls":{"type":"array","items":{"type":"number"}},"total":{"type":"number"},"modifier":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IZhknVifWiJTHvl1shytG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Rolls dice using standard RPG notation (e.g. 2d6+3) and returns individual roll results, total, and modifier","exampleAgentPrompt":"Roll 2d6+3 for me using the dice tool and tell me what I got on each die and the total.","exampleUseCases":[{"title":"Tabletop RPG attack roll","prompt":"Roll a d20 and add 5 for my paladin's attack roll — tell me each die and the total."},{"title":"Character stat generation","prompt":"Roll 4d6 three times so I can pick the best result for my D&D character's strength score."},{"title":"Board game random outcome","prompt":"I need to simulate rolling 2d6 for my board game — give me the individual dice and their sum."}],"resultDescription":"Returns a JSON object with the original dice notation string (e.g. '2d6+3'), an array of individual roll values, the total sum including any modifier, and the modifier value separately.","failureModes":["Invalid dice notation string returns an error","Zero or negative die count or sides may return an error or undefined behavior","Very large dice counts or sides may exceed limits","Missing required roll parameter returns an error"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, pay-per-call dice simulation with standard RPG notation support (XdY+Z) as part of a larger agent workflow, especially if you are already using Agent Data Tools for crypto, web, or utility functions and want a single unified payment method (USDC on Base via x402) without managing API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:37:03.515Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-dice-roller-b47e98b1"}