date_add
Date calculator, add or subtract days, weeks, months or years to a date. Add (or subtract, with negative numbers) days, weeks, months and years to a date (YYYY-MM-DD). Month ends are handled (Jan 31 + 1 month = Feb 28/29). Price: $0.001 per call (x402, USDC on Base).
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": {
"date": "<date>"
},
"name": "date_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| days | No | ||
| weeks | No | ||
| years | No | ||
| months | No |