{"uid":"cap_aF-5d0_QIvBeNRqJxtdxP","slug":"agenttimetools-by-lin-desk-c0ee38c4","name":"AgentTimeTools by LIN Desk","description":"Deterministic time/timezone tools for AI agents: unix↔ISO, tz convert, add/diff, strftime format/parse. $0.001 per call, USDC on Base (x402). Max body 100 KiB. No network I/O, no wall-clock now (client supplies times). Failures are not charged.","url":"https://lin-desk-x402.lindesk.workers.dev/v1/timetools?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["op","input"],"properties":{"op":{"enum":["add","diff","format","iso2unix","parse","tz_convert","unix2iso"],"type":"string","description":"Time tool operation"},"input":{"type":["string","number"],"description":"ISO-8601 / unix / datetime string / JSON {a,b} for diff; max 100 KiB"},"options":{"type":"object","description":"Op-specific options (tz, to_tz, from_tz, seconds, days, pattern, timespec, a, b)"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"op":{"type":"string"},"meta":{"type":"object","properties":{"chars_in":{"type":"integer"},"chars_out":{"type":"integer"},"elapsed_ms":{"type":"integer"}}},"result":{}}}}}}},"responseSchema":{"type":"json","example":{"op":"unix2iso","meta":{"chars_in":10,"chars_out":25,"elapsed_ms":1},"result":"2023-11-15T07:13:20+09:00"}},"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_fOx4tqLLAI73XU247HFB-","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 deterministic time/timezone operations for AI agents: convert unix↔ISO, timezone conversion, add/diff durations, and format/parse datetime strings.","exampleAgentPrompt":"Convert unix timestamp 1700028800 to ISO-8601 in the America/New_York timezone for me.","exampleUseCases":[{"title":"Timezone conversion for scheduling","prompt":"I have a meeting at 2024-03-15T09:00:00 in UTC — what time is that in Asia/Tokyo? Convert it for me."},{"title":"Duration arithmetic for deadlines","prompt":"Add 30 days to 2024-01-15T00:00:00+00:00 and give me the resulting ISO date so I can set a contract deadline."},{"title":"Timestamp display for logs","prompt":"I have a unix timestamp of 1715000000 — convert it to a human-readable ISO-8601 string in the Europe/London timezone."}],"resultDescription":"Returns a JSON object with the operation name (`op`), a `result` field containing the computed value (ISO string, unix integer, formatted string, or numeric diff), and a `meta` object with chars_in, chars_out, and elapsed_ms for observability.","failureModes":["Invalid or malformed ISO-8601/unix input returns an error (not charged)","Unrecognized timezone identifier causes failure","Missing required `op` or `input` fields returns validation error","Body exceeding 100 KiB limit is rejected","Unsupported operation name returns error"],"whenToPreferThis":"Choose this endpoint when you need deterministic, side-effect-free time arithmetic or datetime conversion without relying on the agent's own clock or external network calls. Ideal for agents that need reproducible results from client-supplied timestamps — timezone conversion, duration math, formatting for display, or parsing user-supplied datetime strings — at a predictable $0.001 per call cost on Base USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T06:33:59.154Z","isFirstParty":false,"canonicalSlug":"agenttimetools-by-lin-desk-c0ee38c4"}