pub enum DeferredTool {
Mcp {
params: String,
},
A2a {
url: String,
skill: String,
},
OpenApi {
name: String,
spec_url: String,
},
Search {
name: String,
description: String,
},
}Expand description
A tool entry that needs asynchronous I/O (network or subprocess) to resolve,
and is therefore resolved at connect time rather than when the composite is
built. See crate::live::Live connection methods.
Variants§
Mcp
MCP server connection — a stdio command line or an SSE/HTTP URL.
A2a
Remote agent-to-agent skill invocation.
OpenApi
OpenAPI spec-driven toolset — one tool per operation in the spec.
Search
Search/retrieval tool.
Trait Implementations§
Source§impl Clone for DeferredTool
impl Clone for DeferredTool
Source§fn clone(&self) -> DeferredTool
fn clone(&self) -> DeferredTool
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeferredTool
impl RefUnwindSafe for DeferredTool
impl Send for DeferredTool
impl Sync for DeferredTool
impl Unpin for DeferredTool
impl UnwindSafe for DeferredTool
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