x402-linear-regression
Linear Regression: Fits a least-squares line to equal-length x and y arrays; returns slope and intercept rounded to 6 decimals, r2 to 4; needs two points 🆓 5 free trial calls per signed wallet
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "x402-linear-regression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| xs | No | ||
| ys | No |