create_joint
Create a physics joint between nodes in a Godot scene by specifying the joint type, name, and connected bodies.
Instructions
Create a physics joint.
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>",
"joint_type": "<joint_type>",
"name": "<name>"
},
"name": "create_joint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Joint node name | |
| node_a | No | Node A path (first connected body) | |
| node_b | No | Node B path (second connected body) | |
| joint_type | Yes | Joint type | |
| scene_path | Yes | Path to .tscn scene file | |
| parent_path | No | Parent node path | . |