Read a dataset
get_datasetRead one published dataset (the JSON behind a chart), e.g. "sp500/drawdowns", "sp500/pe", "ndx/forward-pe", "recessions". Rows can be filtered by since/until on their date (or year). A result is capped at about 60,000 characters: when a file is larger (long daily series), each array keeps its most recent rows and the cut is reported under windowed. Scalars and summary fields are always included.
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": {
"path": "<path>"
},
"name": "get_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Dataset path without /api/ and .json, as returned by search_charts. | |
| tail | No | Rows kept per array after filtering, from the end. By default every row is returned when the result fits; long daily series are cut to their most recent rows and reported under `windowed`. | |
| since | No | Keep rows dated on or after this (YYYY-MM-DD or YYYY). | |
| until | No | Keep rows dated on or before this (YYYY-MM-DD or YYYY). |