{"uid":"cap_qcJgnjjJT4oP5zyQtIP5s","slug":"agent402-tools-tonnes-to-grains-converter-036b9495","name":"agent402.tools Tonnes to Grains Converter","description":"Convert tonnes to grains (mass). Pass ?value=N.","url":"https://agent402.tools/api/convert/tonnes-to-grains","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":["value"],"properties":{"value":{"type":"string","description":"Numeric value to convert"}}}},"additionalProperties":false}}},"responseSchema":null,"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":"down","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_q-j7s20Lr9WPLJnQGVvBb","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":"Converts a numeric mass value from metric tonnes to grains via a simple GET request with a query parameter.","exampleAgentPrompt":"How many grains are in 3.5 tonnes? Can you convert that for me?","exampleUseCases":null,"resultDescription":"Returns the numeric equivalent of the input value expressed in grains (the smallest traditional unit of mass), converted from metric tonnes.","failureModes":["Missing or non-numeric value parameter returns an error","Value parameter that is not a valid number (e.g. letters) causes a bad request response","Network or service unavailability results in a timeout or 5xx error","Payment of 0.001 USDC not provided results in a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need a precise programmatic conversion from metric tonnes to grains — particularly in contexts involving apothecary, ballistics, gemology, or historical weight systems that use grains as a base unit. Prefer this over a general-purpose calculator when operating within an x402-enabled agent workflow that handles micropayments automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T22:28:07.365Z","isFirstParty":false}