pub struct SendSubagentMessageInput {
pub agent_id: SubagentId,
pub message: String,
pub delivery: Option<SubagentMessageDelivery>,
pub extra_model_turns: Option<u32>,
pub wait: Option<bool>,
pub timeout_ms: Option<u64>,
}Expand description
Provider-visible input for send_subagent_message.
Fields§
§agent_id: SubagentId§message: String§delivery: Option<SubagentMessageDelivery>§extra_model_turns: Option<u32>§wait: Option<bool>§timeout_ms: Option<u64>Implementations§
Source§impl SendSubagentMessageInput
impl SendSubagentMessageInput
Sourcepub fn tool_spec_with(
name: impl AsRef<str>,
description: impl AsRef<str>,
) -> Result<ToolSpec, ToolBuildError>
pub fn tool_spec_with( name: impl AsRef<str>, description: impl AsRef<str>, ) -> Result<ToolSpec, ToolBuildError>
Builds a provider-neutral tool specification with an explicit identity.
Sourcepub fn tool_spec() -> Result<ToolSpec, ToolBuildError>
pub fn tool_spec() -> Result<ToolSpec, ToolBuildError>
Builds the provider-neutral tool specification for this input.
Trait Implementations§
Source§impl Clone for SendSubagentMessageInput
impl Clone for SendSubagentMessageInput
Source§impl Debug for SendSubagentMessageInput
impl Debug for SendSubagentMessageInput
Source§impl<'de> Deserialize<'de> for SendSubagentMessageInput
impl<'de> Deserialize<'de> for SendSubagentMessageInput
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
impl Eq for SendSubagentMessageInput
Source§impl JsonSchema for SendSubagentMessageInput
impl JsonSchema for SendSubagentMessageInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SendSubagentMessageInput
impl PartialEq for SendSubagentMessageInput
Source§impl Serialize for SendSubagentMessageInput
impl Serialize for SendSubagentMessageInput
impl StructuralPartialEq for SendSubagentMessageInput
Auto Trait Implementations§
impl Forget for SendSubagentMessageInput
impl Freeze for SendSubagentMessageInput
impl Move for SendSubagentMessageInput
impl RefUnwindSafe for SendSubagentMessageInput
impl Send for SendSubagentMessageInputwhere
RawVecInner: Send,
impl Sync for SendSubagentMessageInputwhere
RawVecInner: Sync,
impl Unpin for SendSubagentMessageInput
impl UnsafeUnpin for SendSubagentMessageInput
impl UnwindSafe for SendSubagentMessageInputwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.