{"inputSchema":{"type":"object","properties":{"offers":{"type":"array","items":{"type":"object","properties":{"rates":{"type":"array","items":{"type":"integer","minimum":0,"maximum":1000000},"maxItems":3,"minItems":3},"free_days":{"type":"integer","minimum":0,"maximum":3660}},"required":["rates","free_days"],"additionalProperties":false},"maxItems":2,"minItems":2},"horizon":{"type":"integer","minimum":1,"maximum":3660}},"required":["offers","horizon"],"additionalProperties":false},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"type":"object","required":["reference","retrieved_at"],"properties":{"reference":{"type":"string"},"retrieved_at":{"type":"string"}}},"data":{"type":"object","properties":{"change_days":{"type":"array","items":{"type":"integer"}},"cheaper_offer":{"type":"array","items":{"type":"string"}},"horizon_totals":{"type":"array","items":{"type":"integer"}}},"required":["change_days","cheaper_offer","horizon_totals"]},"limitations":{"type":"string"}}},"requestExample":{"offers":[{"rates":[2636,5267,10534],"free_days":2},{"rates":[3222,6444,12889],"free_days":5}],"horizon":30},"usageGuide":["Amounts in integer cents. Charged days 1–5, 6–10 and 11 onward use the three supplied daily rates. Calendar assumptions are supplied by the caller."],"outputExample":{"measured_at":"2026-11-25T17:13:12.117Z","source":{"reference":"Caller-supplied container tariff and billing assumptions","retrieved_at":"2026-11-25T17:13:12.117Z"},"data":{"change_days":[1,3,25],"cheaper_offer":["tie","second","first"],"horizon_totals":[229127,241665]},"limitations":"Amounts in integer cents. Charged days 1–5, 6–10 and 11 onward use the three supplied daily rates. Calendar assumptions are supplied by the caller."},"tags":["container storage","demurrage","port tariff","freight billing"],"price_usdc":"0.005"}