{"uid":"cap_idPqEN8ZyHUkK4YLJKYCH","slug":"agenttools-data-size-converter-4f584b84","name":"AgentTools Data Size Converter","description":"Convert digital storage units: bits, bytes, KB, MB, GB, TB (decimal, ×1000) and KiB, MiB, GiB, TiB (binary, ×1024) — both systems side by side. Use this when an agent needs to decimal (KB/MB/GB) and binary (KiB/MiB/GiB) units.","url":"https://agentstoolshub.com/api/v1/converters/data-size-converter?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":["value","from","to"],"properties":{"to":{"enum":["TB","GB","MB","KB","B","TiB","GiB","MiB","KiB"],"type":"string","description":"To"},"from":{"enum":["TB","GB","MB","KB","B","TiB","GiB","MiB","KiB"],"type":"string","description":"From"},"value":{"type":"number","description":"Value"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YzRDAOhQAW9ClaZ14wktw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 digital storage units — supporting both decimal (KB, MB, GB, TB) and binary (KiB, MiB, GiB, TiB) unit systems.","exampleAgentPrompt":"How many GiB is 500 GB? Convert 500 from GB to GiB for me.","exampleUseCases":[{"title":"Cloud storage capacity planning","prompt":"I need to know how many GiB are in 2 TB — can you convert 2 TB to GiB for me?"},{"title":"File size comparison across unit systems","prompt":"My hard drive shows 512 GB but the OS reports it in GiB — convert 512 GB to GiB so I can see both decimal and binary sizes."},{"title":"Network transfer quota calculation","prompt":"I have a 100 MiB file and my ISP quotes bandwidth in MB — convert 100 MiB to MB so I know the decimal equivalent."}],"resultDescription":"Returns the converted numeric value in the requested target unit, allowing the agent to present a precise conversion result between any combination of decimal (B, KB, MB, GB, TB) and binary (KiB, MiB, GiB, TiB) storage units.","failureModes":["Missing required query parameters (value, from, or to) returns a validation error","Unsupported unit string passed to from or to returns an enum validation error","Non-numeric value for the value parameter causes a type error","Same unit for from and to returns the same value (not an error, but agent should handle trivially)"],"whenToPreferThis":"Use this endpoint when an agent needs a precise, reliable conversion between any combination of decimal and binary digital storage units. Ideal when the agent must distinguish between SI decimal (KB=1000) and IEC binary (KiB=1024) standards — common in cloud storage, OS file systems, and networking contexts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:48:50.838Z","isFirstParty":false,"canonicalSlug":"agenttools-data-size-converter-4f584b84"}