{"id":"commerce.pack-size-normalize","version":"1.0.0","category":"commerce","description":"Normalize locale-explicit pack-size expressions and multipacks to exact grams, millilitres or counts; reject ambiguous text.","priceMicroUsdc":0,"priceRevision":"2026-10-06-free-validation","pricingStatus":"free-validation","inputSchema":{"type":"object","properties":{"locale":{"type":"string","enum":["en-US","en-GB","de-DE","fr-FR","pt-BR"]},"quantities":{"type":"array","minItems":1,"maxItems":50,"items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"text":{"type":"string","minLength":1,"maxLength":160}},"required":["id","text"],"additionalProperties":false}}},"required":["locale","quantities"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"locale":{"type":"string"},"quantities":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string","enum":["normalized","unsupported"]},"quantity":{"type":["string","null"]},"unit":{"type":["string","null"]},"packCount":{"type":["integer","null"]},"totalQuantity":{"type":["string","null"]},"baseUnit":{"type":["string","null"]},"dimension":{"type":["string","null"]},"approximate":{"type":"boolean"},"issue":{"type":["string","null"]}},"required":["id","status","quantity","unit","packCount","totalQuantity","baseUnit","dimension","approximate","issue"],"additionalProperties":false}},"allNormalized":{"type":"boolean"},"scope":{"type":"string"}},"required":["locale","quantities","allNormalized","scope"],"additionalProperties":false},"example":{"locale":"pt-BR","quantities":[{"id":"milk","text":"6 x 1,5 litros"},{"id":"chicken","text":"Aprox. 2,8 Kg"},{"id":"unclear","text":"500g + 20% free"}]},"limits":{"inputBytes":131072,"outputBytes":65536,"networkTimeoutMs":0},"network":false,"sensitive":false,"route":"/v1/tools/commerce.pack-size-normalize","priceMicroUsd":0,"exampleUrl":"https://agent-utilities.agent-utilities.workers.dev/v1/content/examples/commerce.pack-size-normalize","page":"https://agent-utilities.agent-utilities.workers.dev/tools/commerce.pack-size-normalize","execution":{"method":"POST","url":"https://agent-utilities.agent-utilities.workers.dev/v1/tools/commerce.pack-size-normalize","requiredHeaders":{"Content-Type":"application/json"},"authentication":"none","paymentRequired":false,"chargedMicroUsd":"0","scope":"All available hosted tools are free during validation. Existing input, output and source-access limits apply. Full tools and the combined report share capacity limits that count attempts, including failed executions and marked checks; they are not per-user allowances. No account, API key, wallet or funding is needed. Existing credit balances are preserved. Live Reddit remains unavailable until configured. Paid billing will not resume automatically."}}