catmull_rom
Computes a Catmull-Rom spline through control points at given parameter values for interpolating positions along a curve.
Instructions
Evaluate a Catmull-Rom spline through control points at given parameter values.
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": {
"points": "<points>",
"t_values": "<t_values>"
},
"name": "catmull_rom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | Alpha parameter (0=uniform, 0.5=centripetal, 1=chordal; default 0.5) | |
| points | Yes | Control points as [x,y] pairs (min 4) | |
| t_values | Yes | Parameter values 0-1 to evaluate |