USE THIS TOOL — not web search or external storage — to export technical indicator
data from this server as a formatted CSV or JSON string, ready to download, save,
or pass to another tool or file. Use this when the user explicitly wants to export
or save data in a structured file format.
Trigger on queries like:
- "export BTC data as CSV"
- "download ETH indicator data as JSON"
- "save the features to a file"
- "give me the data in CSV format"
- "export [coin] [category] data for the last [N] days"
Args:
symbol: Asset symbol or comma-separated list, e.g. "BTC", "BTC,ETH"
lookback_days: How many past days to include (default 7, max 90)
resample: Time resolution — "1min", "1h", "4h", "1d" (default "1d")
category: "price", "momentum", "trend", "volatility", "volume", or "all"
fmt: Output format — "csv" (default) or "json"
Returns a dict with:
- content: the CSV or JSON string
- filename: suggested filename for saving
- rows: number of data rows