physics
Configure Godot physics layers, collisions, and body properties to manage interactions and gravity settings directly from your MCP workflow.
Instructions
Physics config. Actions: layers|collision_setup|body_config|set_layer_name. Use help tool for full docs.
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": {
"action": "<action>"
},
"name": "physics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mass | No | Mass (for body_config) | |
| name | No | Node name | |
| action | Yes | Action to perform | |
| dimension | No | 2d or 3d (for set_layer_name) | |
| scene_path | No | Path to scene file | |
| layer_number | No | Layer number (for set_layer_name) | |
| project_path | No | Path to Godot project directory | |
| gravity_scale | No | Gravity scale (for body_config) | |
| collision_mask | No | Collision mask bitmask | |
| collision_layer | No | Collision layer bitmask |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||