sheets_analyze_trends
Runs linear regression on a spreadsheet column to identify trends, helping you see whether values rise, fall, or stay flat over a selected range.
Instructions
Performs linear regression on a column to identify trends
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": {
"spreadsheet_id": "<spreadsheet_id>",
"range": "<range>",
"value_column": "<value_column>"
},
"name": "sheets_analyze_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | The A1 notation range to analyze (first row treated as headers) | |
| value_column | Yes | 0-based column index of the values to analyze | |
| spreadsheet_id | Yes | The ID of the spreadsheet |