{"uid":"cap_VMXYS81wLqAlYbBAqkA2R","slug":"toll402-unit-converter-c03422dd","name":"Toll402 Unit Converter","description":"Converts a numeric value between units within a category (length, mass, volume, temperature, area, speed, data) using a fixed offline conversion table. Pure computation, no network access.","url":"https://toll402.dev/v1/t/unit_convert","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["value","category","from","to"],"properties":{"to":{"type":"string"},"from":{"type":"string"},"value":{"type":"number"},"category":{"enum":["length","mass","volume","temperature","area","speed","data"],"type":"string"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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":"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_NTi-L4LqYeXShLqSCKd9B","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 value between units within a category (length, mass, volume, temperature, area, speed, or data) using an offline fixed conversion table.","exampleAgentPrompt":"Convert 72 degrees Fahrenheit to Celsius using the temperature category.","exampleUseCases":[{"title":"Recipe unit conversion for cooking","prompt":"I need to convert 250 milliliters to fluid ounces — can you do that volume conversion for me?"},{"title":"International distance calculation","prompt":"How many miles is 42.195 kilometers? Convert it in the length category."},{"title":"Data storage size comparison","prompt":"Convert 1.5 terabytes to gigabytes so I can see how much storage that is."}],"resultDescription":"Returns the converted numeric value in the target unit, computed offline from a fixed conversion table. No external network calls are made.","failureModes":["Unsupported unit name for the specified category returns an error","Incompatible from/to units within a category (e.g. mixing length and mass units) returns an error","Missing required fields (value, category, from, to) returns a validation error","Temperature conversions may fail if non-standard unit names are used"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, offline unit conversion with no external dependencies. Ideal for lightweight agents that need to convert common measurement units without latency or rate-limit concerns. Prefer over web-search-based conversion when reproducibility and low cost matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:02:27.829Z","isFirstParty":false}