write_path_curve
Write a curve into a Path2D/Path3D node by providing control points and optional closure settings.
Instructions
Write a curve into a Path2D/Path3D node in a scene.
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": {
"scene_path": "<scene_path>",
"points": "<points>"
},
"name": "write_path_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path node name (first found if omitted) | |
| closed | No | Whether the curve is closed | |
| points | Yes | Control points as arrays of [x, y, z] (Path3D) or [x, y] (Path2D) | |
| scene_path | Yes | Path to .tscn scene containing a Path2D/Path3D node | |
| bake_resolution | No | Curve bake resolution |