time_deadline
Deadline calculator (business or calendar days) — Due date N business days or calendar days from a start date (or before it, with negative N). Business mode skips weekends, US federal holidays (observed) and your own closure dates; calendar mode rolls a weekend or holiday due date to the next or previous business day. Returns the due date, weekday, any roll and why, and the weekends, holidays and business days in between. Optional mode=calendar, roll=next|previous|none, closed=YYYY-MM-DD,YYYY-MM-DD. Pure computation. Price: $0.002 USDC (Base, via x402).
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": {
"start": "<start>",
"days": "<days>"
},
"name": "time_deadline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | number of days, negative counts backward | |
| start | Yes | YYYY-MM-DD |