pub struct SubagentStartedData {
pub agent_description: String,
pub agent_display_name: String,
pub agent_name: String,
pub agent_type: Option<String>,
pub execution_mode: Option<String>,
pub factory_run_id: Option<String>,
pub model: Option<String>,
pub parent_id: Option<String>,
pub resumable: Option<bool>,
pub tool_call_id: String,
}Expand description
Session event “subagent.started”. Sub-agent startup details including parent tool call and agent information
Fields§
§agent_description: StringDescription of what the sub-agent does
agent_display_name: StringHuman-readable display name of the sub-agent
agent_name: StringInternal name of the sub-agent
agent_type: Option<String>Type of the sub-agent selected at spawn time.
execution_mode: Option<String>Whether the sub-agent runs synchronously or in the background.
factory_run_id: Option<String>Root id of the factory run that spawned this sub-agent, when it was spawned by one.
model: Option<String>Model the sub-agent will run with, when known at start.
parent_id: Option<String>Task-registry ID of the spawning sub-agent. Absent when the root session spawned this child.
resumable: Option<bool>Whether this sub-agent can be resumed. Currently always false.
tool_call_id: StringTool call ID of the parent tool invocation that spawned this sub-agent
Trait Implementations§
Source§impl Clone for SubagentStartedData
impl Clone for SubagentStartedData
Source§fn clone(&self) -> SubagentStartedData
fn clone(&self) -> SubagentStartedData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubagentStartedData
impl Debug for SubagentStartedData
Source§impl Default for SubagentStartedData
impl Default for SubagentStartedData
Source§fn default() -> SubagentStartedData
fn default() -> SubagentStartedData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubagentStartedData
impl<'de> Deserialize<'de> for SubagentStartedData
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 SubagentStartedData
impl RefUnwindSafe for SubagentStartedData
impl Send for SubagentStartedData
impl Sync for SubagentStartedData
impl Unpin for SubagentStartedData
impl UnsafeUnpin for SubagentStartedData
impl UnwindSafe for SubagentStartedData
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