due__cron
Deadline and date arithmetic for AI agents: business-day maths, cron to English + next runs, timezone conversion, batch date queries. GET, $0.01 per call via x402 on Base. Price: $0.01 per call in USDC on Base (eip155:8453), paid with x402 in params._meta["x402/payment"]. HTTP: GET https://api.firstmention.uk/s/due/cron
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from": "<from>"
},
"name": "due__cron"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | operation; default 'due' = days between from and to | |
| to | No | end date (op=due) | |
| tz | No | IANA timezone e.g. Europe/London | |
| days | No | days to add (op=add/addbiz) | |
| from | Yes | start date YYYY-MM-DD or 'today' |