pub struct AgentSwarmRequest {
pub description: String,
pub subagent_type: Option<String>,
pub prompt_template: Option<String>,
pub items: Vec<String>,
pub resume_agent_ids: BTreeMap<String, String>,
}Expand description
Parsed agent_swarm tool input, before any child is dispatched.
Fields§
§description: String§subagent_type: Option<String>§prompt_template: Option<String>§items: Vec<String>§resume_agent_ids: BTreeMap<String, String>Map of existing subagent agent_id to the prompt used to resume it. Resumed children are dispatched before new item-based spawns.
Trait Implementations§
Source§impl Clone for AgentSwarmRequest
impl Clone for AgentSwarmRequest
Source§impl Debug for AgentSwarmRequest
impl Debug for AgentSwarmRequest
Source§impl Default for AgentSwarmRequest
impl Default for AgentSwarmRequest
Source§impl<'de> Deserialize<'de> for AgentSwarmRequest
impl<'de> Deserialize<'de> for AgentSwarmRequest
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
Source§impl PartialEq for AgentSwarmRequest
impl PartialEq for AgentSwarmRequest
Source§impl Serialize for AgentSwarmRequest
impl Serialize for AgentSwarmRequest
impl StructuralPartialEq for AgentSwarmRequest
Auto Trait Implementations§
impl Freeze for AgentSwarmRequest
impl RefUnwindSafe for AgentSwarmRequest
impl Send for AgentSwarmRequest
impl Sync for AgentSwarmRequest
impl Unpin for AgentSwarmRequest
impl UnsafeUnpin for AgentSwarmRequest
impl UnwindSafe for AgentSwarmRequest
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