path_manage
Automate Godot path authoring: generate curves, scaffold Path2D/Path3D nodes, and sample baked points for patrol routes.
Instructions
Path2D/Path3D Curves, Splines, and Patrol Route Automation.
Ops:
create_curve_2d(points=None, closed=false, save_path="") Create a Curve2D resource with Bezier control points.
create_curve_3d(points=None, closed=false, save_path="") Create a Curve3D resource with Bezier control points.
scaffold_path(parent_path="", type="Path3D", name="Path", with_follow=true, loop=true) Scaffold a Path2D or Path3D node with an optional PathFollow child.
sample_baked_points(path_node_path, interval=1.0) Sample baked positions along a Path2D or Path3D at fixed intervals.
generate_spline(shape="circle", is_3d=true, radius=5.0, points_count=16, save_path="") Procedurally generate standard spline curves (circle, sine, spiral, rect, s_curve).
Canonical call shape: {"op": "<verb>", "params": {...}}. Flat op parameters are accepted as a compatibility alias when the client transmits them; op and session_id remain top-level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| params | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||