simple_moving_average
Calculate the Simple Moving Average (SMA) to smooth time series data by averaging values over a specified window, identifying trends and patterns in numerical sequences.
Instructions
Compute Simple Moving Average (SMA) - average of last 'window' values at each point (Domain: timeseries, Category: analysis)
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": {
"data": "<data>",
"window": "<window>"
},
"name": "simple_moving_average"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| window | Yes |