manage_rigidbody
Auto-generated from the Python tool registry. Do not hand-edit outside
<!-- examples:start --><!-- examples:end -->blocks — the generator (tools/generate_docs_reference.py) will overwrite them.
Group: physics · Module: services.registry.capability_adapter
Maturity: stable (support status; independent of enabled state, readiness and permissions).
Description
Inspect or configure a Rigidbody or Rigidbody2D.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
action | Literal['get_rigidbody', 'configure_rigidbody'] | yes | Feature action to perform. |
dimension | str | None | — | Physics dimension: '3d' (default) or '2d'. |
target | str | None | — | Target GameObject name or instance ID. |
search_method | str | None | — | Search method for target resolution. |
properties | dict[str, Any] | None | — | Direct property dict for joints or materials. |
unity_instance | str | int | None | — | Target Unity instance for this call: Name@hash or hash prefix; an integer selects only that exact port over stdio and is rejected over HTTP. Read mcpforunity://instances for available targets. Omit to use the legacy active selection or the sole available instance. |
Returns
A dict containing the Unity response. The exact shape depends on the action.
Examples
Read a 3D Rigidbody on Player. Replace the target with an unambiguous object in the loaded scene.
MCP arguments
{
"action": "get_rigidbody",
"dimension": "3d",
"target": "Player",
"search_method": "by_name"
}