{"schemaVersion":"1.0","id":"pack-plan","name":"Whole-Pack Planner","description":"Choose the lowest-cost whole-pack combination for the quantity you need.","page":"https://agent-utilities.agent-utilities.workers.dev/products/pack-plan","contract":"https://agent-utilities.agent-utilities.workers.dev/v1/content/products/pack-plan","scope":"Supply interchangeable items, exact prices and explicit pack limits in one currency. Item subtotal only: excludes delivery, taxes, fees and discounts. No live stock check, product-equivalence check or order placement.","limits":{"maxOffers":3,"maxRequiredUnits":1000,"maxUnitsPerPack":1000,"maxPacksPerOffer":50,"maxInputBytes":4096},"inputSchema":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"minorUnitDigits":{"type":"integer","minimum":0,"maximum":6},"requiredUnits":{"type":"integer","minimum":1,"maximum":1000},"offers":{"type":"array","minItems":1,"maxItems":3,"items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"unitsPerPack":{"type":"integer","minimum":1,"maximum":1000},"price":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$","maxLength":19},"maxPacks":{"type":"integer","minimum":0,"maximum":50}},"required":["id","unitsPerPack","price","maxPacks"],"additionalProperties":false}}},"required":["currency","minorUnitDigits","requiredUnits","offers"],"additionalProperties":false,"examples":[{"currency":"USD","minorUnitDigits":2,"requiredUnits":12,"offers":[{"id":"six-pack","unitsPerPack":6,"price":"7.99","maxPacks":10},{"id":"ten-pack","unitsPerPack":10,"price":"11.99","maxPacks":10}]}]},"trial":{"method":"POST","url":"https://agent-utilities.agent-utilities.workers.dev/v1/preview/commerce.pack-plan","headers":{"Content-Type":"application/json"},"authentication":"none","chargedMicroUsd":"0","automaticPaidFallback":false,"input":{"currency":"USD","minorUnitDigits":2,"requiredUnits":12,"offers":[{"id":"six-pack","unitsPerPack":6,"price":"7.99","maxPacks":10},{"id":"ten-pack","unitsPerPack":10,"price":"11.99","maxPacks":10}]}},"demonstration":{"provenance":"Synthetic input; not a merchant quote, customer use or testimonial.","explanation":"Need 12 identical items? A six-pack costs $7.99; a ten-pack costs $11.99. Two six-packs cost $15.98, while two ten-packs cost $23.98.","fixedInputAndOutput":"https://agent-utilities.agent-utilities.workers.dev/v1/content/examples/commerce.pack-plan"},"httpRequest":"curl --fail-with-body 'https://agent-utilities.agent-utilities.workers.dev/v1/preview/commerce.pack-plan' \\\n  -H 'Content-Type: application/json' \\\n  --data-binary @- <<'JSON'\n{\n  \"currency\": \"USD\",\n  \"minorUnitDigits\": 2,\n  \"requiredUnits\": 12,\n  \"offers\": [\n    {\n      \"id\": \"six-pack\",\n      \"unitsPerPack\": 6,\n      \"price\": \"7.99\",\n      \"maxPacks\": 10\n    },\n    {\n      \"id\": \"ten-pack\",\n      \"unitsPerPack\": 10,\n      \"price\": \"11.99\",\n      \"maxPacks\": 10\n    }\n  ]\n}\nJSON","mcp":{"endpoint":"https://agent-utilities.agent-utilities.workers.dev/mcp/remote?category=commerce","transport":"streamable-http","tool":"agent_utilities_pack_preview","arguments":{"currency":"USD","minorUnitDigits":2,"requiredUnits":12,"offers":[{"id":"six-pack","unitsPerPack":6,"price":"7.99","maxPacks":10},{"id":"ten-pack","unitsPerPack":10,"price":"11.99","maxPacks":10}]},"setup":"https://agent-utilities.agent-utilities.workers.dev/integrations/agents","note":"Configure the endpoint in an MCP client, then call this free tool. HTTP source tags do not attribute MCP executions to a campaign."},"fullTool":{"id":"commerce.pack-plan","priceMicroUsd":800,"contract":"https://agent-utilities.agent-utilities.workers.dev/v1/content/tools/commerce.pack-plan","funding":"https://agent-utilities.agent-utilities.workers.dev/billing","note":"Larger inputs require a separately authorized paid call. Funding starts at $1 in service credits; no automatic upgrade or top-up."},"feedback":{"email":"agentutilities@proton.me","subject":"Pilot feedback: pack-plan","request":"Share a public or sanitized task, expected result, current workaround and frequency. After trying it, tell us whether it helped; report a later real use separately. Omit credentials and private purchase records."},"measurement":"Coarse source-tagged request counts only, not people or a linked conversion funnel. Feedback is voluntary; campaign-level purchases require separate evidence."}