{"uid":"cap_IpGaC-fuS3c5oz3kNv9xT","slug":"agent402-tools-ounces-to-milligrams-converter-4a46e53a","name":"agent402.tools Ounces to Milligrams Converter","description":"Convert ounces to milligrams (mass). Pass ?value=N.","url":"https://agent402.tools/api/convert/ounces-to-milligrams","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_afFaWqreG9eFfoEhQ5bZN","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 ounces (oz) to milligrams (mg) via a simple GET request.","exampleAgentPrompt":"How many milligrams are in 3.5 ounces? Can you convert that for me?","exampleUseCases":null,"resultDescription":"A numeric result representing the equivalent mass in milligrams for the given ounce input value.","failureModes":["Missing required 'value' query parameter returns an error","Non-numeric value passed to 'value' parameter causes a validation error","Payment not fulfilled (x402) results in a 402 Payment Required response","Extremely large or small numeric values may cause precision issues"],"whenToPreferThis":"Use this endpoint when you need a precise programmatic conversion from ounces to milligrams, especially within an automated workflow or agent pipeline. Prefer this over manual calculation or general-purpose LLM math when accuracy and reliability matter, particularly for scientific, pharmaceutical, cooking, or nutrition contexts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-03T13:25:06.160Z","isFirstParty":false}