is_market_open
Check whether an exchange is currently open — a cheap routing helper.
Returns `is_open`, a single boolean. An unknown exchange code is an error.
Use it to route between the market-hours tools: when the market is CLOSED,
extended-hours data lives in `get_aftermarket_data`;
when OPEN, `detect_intraday_outlier_jumps` gives the live intraday read.
No auth required.
Unsure which exchange a ticker trades on? `get_company_snapshot` returns an
`exchange` field whose value can be passed here as-is.
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": "is_market_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exchange | No | Exchange code, e.g. "NYSE", "NASDAQ", "LSE" or an ISO MIC like "XNYS" (not full names; case does not matter). NYSE is right for US equities. | NYSE |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_open | Yes | True when the exchange is in its regular session right now. |