pub struct TurnStartParams {
pub thread_id: String,
pub input: Vec<UserInput>,
pub model: Option<String>,
pub reasoning_effort: Option<String>,
pub sandbox_policy: Option<Value>,
}Expand description
Parameters for turn/start.
Starts a new agent turn within an existing thread. The agent processes the input and streams notifications until the turn completes.
Fields§
§thread_id: StringThe thread ID from ThreadStartResponse.
input: Vec<UserInput>One or more user inputs (text and/or images).
model: Option<String>Override the model for this turn (e.g., "o4-mini").
reasoning_effort: Option<String>Override reasoning effort for this turn (e.g., "low", "medium", "high").
sandbox_policy: Option<Value>Override sandbox policy for this turn.
Trait Implementations§
Source§impl Clone for TurnStartParams
impl Clone for TurnStartParams
Source§fn clone(&self) -> TurnStartParams
fn clone(&self) -> TurnStartParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TurnStartParams
impl Debug for TurnStartParams
Source§impl<'de> Deserialize<'de> for TurnStartParams
impl<'de> Deserialize<'de> for TurnStartParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TurnStartParams
impl RefUnwindSafe for TurnStartParams
impl Send for TurnStartParams
impl Sync for TurnStartParams
impl Unpin for TurnStartParams
impl UnsafeUnpin for TurnStartParams
impl UnwindSafe for TurnStartParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more