{"uid":"cap_bTPZlaK_xK99-CmhRaUR5","slug":"agent-dev-tools-dice-roller-8719d8cc","name":"Agent Dev Tools – Dice Roller","description":"Fast deterministic developer utilities for AI agents, paid per call in USDC via x402 (no account, no API key): UUID v4/v7, secure random numbers, dice, MD5/SHA/HMAC hashing, base64/hex/URL/HTML encoding, JSON validation/formatting, QR code SVG, password generation, JWT decoding and text statistics. Pure computation, nothing stored. Errors are never charged.","url":"https://agent-dev-tools.frcompanycheck.workers.dev/v1/dice?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["notation"],"properties":{"notation":{"type":"string","example":"2d6+3","description":"e.g. 1d20, 2d6+3, 4d6kh3, 3d8-1"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"kept":[4,6],"rolls":[4,6],"total":13,"modifier":3,"notation":"2d6+3"}},"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_AJfBZdx4HzUdLke5x7Rrg","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":"Rolls dice using standard tabletop notation (e.g. 2d6+3, 4d6kh3) and returns individual rolls, kept dice, modifier, and total","exampleAgentPrompt":"Roll 4d6 keep highest 3 for me — I'm generating D&D character ability scores.","exampleUseCases":[{"title":"D&D character stat generation","prompt":"Roll 4d6 keep highest 3 six times so I can generate my D&D character's ability scores."},{"title":"Random encounter table lookup","prompt":"Roll a d100 for me so I can look up which random encounter my players hit in the wilderness table."},{"title":"Board game dice simulation","prompt":"I need to simulate rolling 2d6+3 for a board game move — what's the result?"}],"resultDescription":"A JSON object containing: the original notation string, an array of all individual die rolls, an array of kept dice (after any keep-highest/keep-lowest selector), the numeric modifier, and the final total (sum of kept dice plus modifier).","failureModes":["Invalid or malformed dice notation returns an error (not charged)","Missing required 'notation' query parameter returns an error (not charged)","Unsupported notation variants may not parse correctly","Network timeout on Cloudflare Worker edge (rare)"],"whenToPreferThis":"Use this endpoint when you need stateless, instant dice rolling with standard tabletop notation support (including keep-highest selectors like 4d6kh3) and no setup — no API key, no account, just pay $0.001 USDC per call via x402. Ideal for AI agents running tabletop RPG logic, simulations, or any workflow needing dice semantics rather than raw uniform random numbers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T06:38:44.486Z","isFirstParty":false,"canonicalSlug":"agent-dev-tools-dice-roller-8719d8cc"}