pub struct WorkflowAgentOptions {
pub agent: Option<String>,
pub context_tier: Option<ContextTier>,
pub label: Option<String>,
pub model: Option<String>,
pub reasoning_effort: Option<String>,
pub schema: Option<Value>,
}Expand description
Options for one workflow-scoped subagent call.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§agent: Option<String>Optional built-in or custom agent name whose definition configures the subagent.
context_tier: Option<ContextTier>Optional context tier override for the subagent.
label: Option<String>Optional label distinguishing otherwise identical memoized agent calls.
model: Option<String>Optional model identifier for the subagent.
reasoning_effort: Option<String>Optional reasoning effort override for the subagent.
schema: Option<Value>Optional JSON Schema for structured agent output.
Trait Implementations§
Source§impl Clone for WorkflowAgentOptions
impl Clone for WorkflowAgentOptions
Source§impl Debug for WorkflowAgentOptions
impl Debug for WorkflowAgentOptions
Source§impl Default for WorkflowAgentOptions
impl Default for WorkflowAgentOptions
Source§impl<'de> Deserialize<'de> for WorkflowAgentOptions
impl<'de> Deserialize<'de> for WorkflowAgentOptions
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 WorkflowAgentOptions
impl RefUnwindSafe for WorkflowAgentOptions
impl Send for WorkflowAgentOptions
impl Sync for WorkflowAgentOptions
impl Unpin for WorkflowAgentOptions
impl UnsafeUnpin for WorkflowAgentOptions
impl UnwindSafe for WorkflowAgentOptions
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