read_collision_polygon
Read CollisionPolygon2D points from a Godot scene. Specify a scene path and optional node path to retrieve polygon collision data.
Instructions
Read CollisionPolygon2D points from 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>"
},
"name": "read_collision_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | No | Specific CollisionPolygon2D node path (defaults to all) | |
| scene_path | Yes | Path to .tscn scene file |