Interpolation Calculator
calculator_interpolationLinear or Lagrange polynomial interpolation.
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": "<x>",
"y": "<y>",
"target": "<target>"
},
"name": "calculator_interpolation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X samples. | |
| y | Yes | Y samples. | |
| method | No | linear or polynomial. | linear |
| target | Yes | Target X. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | ||
| interpolated_y | Yes |