{"uid":"cap_-9QTRvzhJdOVGLpue8TDY","slug":"coco-date-math-tool-fb8a36b1","name":"CoCo Date Math Tool","description":"Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.","url":"https://cocoeatsai.com/area4/agent/tools/date-math?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"const":"json"},"example":{"type":"object","required":["start"],"properties":{"start":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"start":"2026-10-18","start_weekday":"Sunday"},"exampleNote":"Computed offline with demonstration inputs; time/random values are illustrative."},"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_7X6Cc1yT06z53NraOWOIG","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":"Performs date arithmetic calculations, returning computed dates and their corresponding weekday names","exampleAgentPrompt":"What date is 90 days from October 18, 2026, and what day of the week does it fall on?","exampleUseCases":[{"title":"Project deadline calculation","prompt":"My project starts on March 1st, 2026 — what date is 45 days later and what day of the week is that?"},{"title":"Contract expiry date lookup","prompt":"If a 90-day contract begins on January 5th, 2027, what date does it expire and is that a weekday?"},{"title":"Event scheduling forward planning","prompt":"What date falls exactly 6 weeks after July 4th, 2026, and what day of the week is it?"}],"resultDescription":"Returns a JSON object containing the computed result date as an ISO 8601 string (e.g. '2026-10-18') and the corresponding weekday name (e.g. 'Sunday'), allowing agents to answer date arithmetic questions programmatically.","failureModes":["Missing or malformed query parameters may return an error or unexpected result","Invalid date strings (non-ISO format) may not be parsed correctly","Edge cases like leap year boundaries or month-end rollovers may produce unexpected dates","No response schema documents error payloads, so error format is undefined"],"whenToPreferThis":"Choose this endpoint when you need lightweight, fast date arithmetic — specifically computing a future or past date from a start point and returning the weekday — without importing a full calendar library. Best for simple offset calculations rather than complex business-day or timezone-aware scheduling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:42:44.808Z","isFirstParty":false,"canonicalSlug":"coco-date-math-tool-fb8a36b1"}