pub struct WaitSubagentsInput {
pub agent_ids: Vec<SubagentId>,
pub mode: Option<WaitMode>,
pub timeout_ms: Option<u64>,
}Expand description
Provider-visible input for wait_subagents.
Tolerates both agent_ids: [...], agent_ids: "agent-1", and the singular
alias agent_id: "agent-1".
Fields§
§agent_ids: Vec<SubagentId>§mode: Option<WaitMode>§timeout_ms: Option<u64>Optional observation deadline in milliseconds. This is not a task budget and a timeout never means that the child completed.
Implementations§
Source§impl WaitSubagentsInput
impl WaitSubagentsInput
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 WaitSubagentsInput
impl Clone for WaitSubagentsInput
Source§impl Debug for WaitSubagentsInput
impl Debug for WaitSubagentsInput
Source§impl<'de> Deserialize<'de> for WaitSubagentsInput
impl<'de> Deserialize<'de> for WaitSubagentsInput
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 WaitSubagentsInput
Source§impl JsonSchema for WaitSubagentsInput
impl JsonSchema for WaitSubagentsInput
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 WaitSubagentsInput
impl PartialEq for WaitSubagentsInput
Source§impl Serialize for WaitSubagentsInput
impl Serialize for WaitSubagentsInput
impl StructuralPartialEq for WaitSubagentsInput
Auto Trait Implementations§
impl Forget for WaitSubagentsInput
impl Freeze for WaitSubagentsInput
impl Move for WaitSubagentsInput
impl RefUnwindSafe for WaitSubagentsInput
impl Send for WaitSubagentsInput
impl Sync for WaitSubagentsInput
impl Unpin for WaitSubagentsInput
impl UnsafeUnpin for WaitSubagentsInput
impl UnwindSafe for WaitSubagentsInput
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.