Skip to main content

manage_render_environment

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: graphics  ·  Module: services.registry.capability_adapter

Maturity: stable (support status; independent of enabled state, readiness and permissions).

Description​

Inspect the environment or configure skybox, ambient light and sun.

Parameters​

NameTypeRequiredDescription
actionLiteral['skybox_get', 'skybox_set_material', 'skybox_set_properties', 'skybox_set_ambient', 'skybox_set_sun']yesFeature action to perform.
targetstr | None—Target object name or instance ID.
parametersdict[str, Any] | None—Dict of parameter values.
propertiesdict[str, Any] | None—Dict of properties to set.
namestr | None—Name for created objects.
pathstr | None—Asset path for volume_create_profile.
modestr | None—Probe mode or debug mode.
materialstr | None—Material asset path for feature.
colorlist[float] | None—Color [r,g,b,a] for ambient/fog.
intensityfloat | None—Intensity value (ambient/reflection).
ambient_modestr | None—Ambient mode: Skybox, Trilight, Flat, Custom.
equator_colorlist[float] | None—Equator color [r,g,b,a] (Trilight mode).
ground_colorlist[float] | None—Ground color [r,g,b,a] (Trilight mode).
unity_instancestr | 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​

Inspect the skybox and ambient environment before changing scene lighting.

MCP arguments
{
"action": "skybox_get"
}