Skip to content
Developer Preview

SendUserTurnOptions

What send_user_turn sends, composed from the generated turn/start params rather than restated.

Class in muse_code

commandId is excluded because Connection is the single minter; sessionId because the session already knows its own and a caller-supplied one could only disagree.

Property Type Description
input List[TurnInputPart] The turn’s input parts (the wire input member).
display_text str | None Optional composer display text (wire displayText).
if_busy IfBusy | None How to treat a submit while a turn runs (wire ifBusy).
reasoning_effort ReasoningEffort | None The turn’s reasoning effort (wire reasoningEffort).
composer_input _I | None What to hand back to the composer if this submit is ever retired — restores the INPUT, not the wire parts. Optional: a consumer rendering nothing optimistically has nothing to restore.
Source

clients/sdk-py/src/muse_code/facade/turn_submit.py:40