get_calendar
Retrieve market calendar data for a specified date range. Provide start and end dates to get trading or settlement dates, avoiding oversized responses.
Instructions
Retrieves and formats market calendar for specified date range. WARNING: Always provide start and end dates (YYYY-MM-DD). Without date bounds the response contains the entire multi-year calendar and will be extremely large.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | The last date to retrieve data for (inclusive). | |
| start | No | The first date to retrieve data for (inclusive). | |
| date_type | No | Indicates what start and end mean. Default: TRADING. If TRADING is specified, returns a calendar whose trading date matches start, end. If SETTLEMENT is specified, returns the calendar whose settlement date matches start and end. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||