Price Sparklines
get_sparkGet lightweight close-price sparklines for multiple symbols. Faster and smaller than get_charts — use when you only need price direction/trend across many symbols.
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": {
"symbols": "<symbols>",
"interval": "<interval>",
"range": "<range>"
},
"name": "get_spark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | Time range: 1d|5d|1mo|3mo|6mo|1y|2y|5y|10y|ytd|max (default: 1mo) | |
| fields | No | Comma-separated list of GraphQL field names to include; omitted = curated default set | |
| symbols | Yes | Comma-separated list of ticker symbols (e.g., "AAPL,MSFT,GOOG") | |
| interval | Yes | Candle interval: 1m|5m|15m|30m|1h|1d|1wk|1mo|3mo (default: 1d) |