Skip to main content

manage_light_baking

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​

Control light baking and configure light or reflection probes.

Parameters​

NameTypeRequiredDescription
actionLiteral['bake_start', 'bake_cancel', 'bake_status', 'bake_clear', 'bake_reflection_probe', 'bake_get_settings', 'bake_set_settings', 'bake_create_light_probe_group', 'bake_create_reflection_probe', 'bake_set_probe_positions']yesFeature action to perform.
targetstr | None—Target object name or instance ID.
settingsdict[str, Any] | None—Dict of settings (bake/pipeline).
namestr | None—Name for created objects.
positionlist[float] | None—Position [x,y,z].
grid_sizelist[int] | None—Probe grid size [x,y,z].
spacingfloat | None—Probe grid spacing.
sizelist[float] | None—Probe/volume size [x,y,z].
resolutionint | None—Probe resolution.
modestr | None—Probe mode or debug mode.
hdrbool | None—HDR for reflection probes.
box_projectionbool | None—Box projection for reflection probes.
positionslist[list[float]] | None—Probe positions array.
async_bakebool | None—Async bake (default true).
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​

Read lighting bake settings before deciding whether a probe or lighting change is needed.

MCP arguments
{
"action": "bake_get_settings"
}