Skip to main content

manage_simulation_profiles

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: testing  ·  Module: services.tools.manage_simulation_profiles

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

Description​

Capture named Time/Physics3D/Physics2D/Audio/Input configuration profiles, inspect per-domain applicability, diff/validate against current settings, explicitly apply, and conditionally restore confirmed changes. capabilities lists exact supported keys. capture optionally stores validated settings replacements without applying globals. apply requires profile_revision and current_revision returned by validate/diff. restore requires a retained receipt_id and preserves external writer drift, owner changes and uncertain writes. No cross-domain transaction, automatic simulation, input injection, hardware audibility, persistent Undo or asset save is promised. Profiles/receipts are bounded project-local Library metadata. delete removes a named profile plus its receipts and does not restore settings; restore first when needed.

Parameters​

NameTypeRequiredDescription
actionLiteral['capabilities', 'capture', 'list', 'get', 'diff', 'validate', 'apply', 'restore', 'receipt', 'delete']yesExplicit named profile action.
namestr | None—Exact profile name, 1..64 visible characters.
domainslist[Literal['time', 'physics3d', 'physics2d', 'audio', 'input']] | None—Capture domains; omitted captures currently applicable supported domains.
settingsdict[str, JsonValue] | None—Optional supported replacement values stored by capture, at most 32 flat keys such as time.timeScale, physics3d.gravity, audio.volume. No global application here.
profile_revisionstr | None—Required for apply or replacement capture; read from get/validate/diff.
current_revisionstr | None—Required for apply; exact current-state revision returned by validate/diff.
receipt_idstr | None—Retained apply receipt for receipt/restore.
offsetint | None—Nonnegative list offset.
limitint | None—List page size 1..32, default 20.
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​

List saved simulation profiles in the selected project. Choose a returned name for inspection before applying any settings.

MCP arguments
{
"action": "list",
"limit": 20
}