Skip to content
Developer Preview

StartSessionOptions

Caller-facing options for session/start.

Class in muse_code

Composed from the generated SessionStartParams (idiomatic snake_case, C-638-1). config is excluded as well as commandId until the facade implements the required sessionMcp grant check and forwarding.

Property Type Description
approval_mode str | None The approval enforcement mode to start under; omitted = the host’s default.
provider_id str | None The provider to serve the session with; omitted = the host’s default.
session_id str | None A caller-chosen session id; omitted = the host mints one.
workspace_root str | None The workspace the session works in; omitted = the host decides.
model_id str | None The model to serve the session with; omitted = the provider’s default.
Source

clients/sdk-py/src/muse_code/facade/client.py:66