# AgentTimeTools Add — Datetime Addition by LIN Desk

> AgentTimeTools Add — Datetime Addition by LIN Desk is a paid API for AI agents from lin-desk-x402.lindesk.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Adds a specified number of days and/or seconds to a given datetime string, returning the result as an ISO 8601 timestamp in the requested timezone

## Facts

- Endpoint: GET https://lin-desk-x402.lindesk.workers.dev/v1/timetools/add?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttimetools-add-datetime-addition-by-lin-desk-1bbf6140
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2zhzWZGbEJS8k4Zug-AKU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agenttimetools-add-datetime-addition-by-lin-desk-1bbf6140
```

Example prompt: What is the ISO datetime exactly 14 days and 3600 seconds after 2025-06-15T09:00:00 in the Asia/Tokyo timezone?

## When to prefer this

Choose this endpoint when an AI agent needs deterministic, arithmetic datetime addition — adding a fixed number of days and/or seconds to a known datetime — especially when timezone-aware ISO output is required. Prefer it over general LLM reasoning for date math (which can hallucinate) or over full calendar APIs when you only need a simple offset computation with no scheduling side effects.

## Known failure modes

- Invalid or unrecognized datetime input string — returns error or unexpected result
- Unknown IANA timezone string — may return error or fall back to UTC
- Non-numeric days or seconds parameter — rejected by schema pattern validation
- Missing required 'input' query parameter — request fails validation
- Network timeout on the Cloudflare Worker edge — rare but possible

## How this service works

Pay-per-call API for AI agents: turn any public web page or PDF into clean, LLM-ready Markdown. $0.002 per call in USDC on Base via x402. No API key, no signup.

## Output

Returns a JSON object with: 'op' (the operation name, e.g. 'add'), 'meta' containing chars_in, chars_out, and elapsed_ms, and 'result' as the computed ISO 8601 datetime string in the requested timezone (e.g. '2026-10-04T19:00:00+08:00').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "tz": {
       "type": "string",
       "description": "IANA timezone, e.g. Asia/Tokyo"
      },
      "days": {
       "type": "string",
       "pattern": "^-?\\d+(\\.\\d+)?$"
      },
      "input": {
       "type": "string",
       "description": "Datetime / unix / ISO string (empty for diff with a,b)"
      },
      "seconds": {
       "type": "string",
       "pattern": "^-?\\d+(\\.\\d+)?$"
      }
     }
    }
   },
   "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": {}
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "op": "add",
  "meta": {
   "chars_in": 20,
   "chars_out": 25,
   "elapsed_ms": 0
  },
  "result": "2026-10-04T19:00:00+00:00"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttimetools-add-datetime-addition-by-lin-desk-1bbf6140/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lin-desk-x402.lindesk.workers.dev](https://www.zero.xyz/host/lin-desk-x402.lindesk.workers.dev/llms.txt)
