interpolate
Interpolate scattered one-dimensional data points to estimate values at arbitrary positions using methods like cubic spline.
Instructions
Interpolate scattered one-dimensional data.
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": {
"x_data": "<x_data>",
"y_data": "<y_data>"
},
"name": "interpolate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_data | Yes | ||
| y_data | Yes | ||
| method | No | cubic_spline | |
| x_eval | No | ||
| num_points | No | ||
| k | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||