pub enum DecodedTool {
Show 18 variants
RunSubagent {
model: String,
reasoning_effort: Option<String>,
context_node_ids: Vec<String>,
task: String,
},
EndSession {
message: Option<String>,
},
BoxIds(Vec<BoxId>),
SummarizeBox {
box_id: BoxId,
summary: String,
},
BoxId(BoxId),
LoadNodes(Vec<String>),
EmitObject {
object_id: String,
file_name: Option<String>,
},
WebSearch {
question: String,
model: String,
},
WebFetch(String),
StageTelegramGroupMedia(i64),
MediaEnrichment {
object_id: String,
model: String,
prompt: String,
},
GenerateImage {
model: String,
prompt: String,
reference_object_ids: Vec<String>,
},
ObjectId(String),
ConnectNodes(Vec<String>),
ConsolidateFanout {
parent: String,
fanout: Vec<String>,
aggregator: String,
},
SetFixedConnection {
parent: String,
child: Option<String>,
slot: usize,
},
CreateNode {
parents: Vec<String>,
owner: String,
short_name: String,
short_description: String,
long_description: String,
},
UpdateNode {
id: String,
owner: String,
short_name: String,
short_description: String,
long_description: String,
},
}Variants§
RunSubagent
EndSession
BoxIds(Vec<BoxId>)
SummarizeBox
BoxId(BoxId)
LoadNodes(Vec<String>)
EmitObject
WebSearch
WebFetch(String)
StageTelegramGroupMedia(i64)
MediaEnrichment
GenerateImage
ObjectId(String)
ConnectNodes(Vec<String>)
ConsolidateFanout
SetFixedConnection
CreateNode
Fields
UpdateNode
Trait Implementations§
Source§impl Clone for DecodedTool
impl Clone for DecodedTool
Source§fn clone(&self) -> DecodedTool
fn clone(&self) -> DecodedTool
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 DecodedTool
impl Debug for DecodedTool
Source§impl From<DecodedKwebTool> for DecodedTool
impl From<DecodedKwebTool> for DecodedTool
Source§fn from(value: DecodedKwebTool) -> Self
fn from(value: DecodedKwebTool) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DecodedTool
impl PartialEq for DecodedTool
impl StructuralPartialEq for DecodedTool
Auto Trait Implementations§
impl Freeze for DecodedTool
impl RefUnwindSafe for DecodedTool
impl Send for DecodedTool
impl Sync for DecodedTool
impl Unpin for DecodedTool
impl UnsafeUnpin for DecodedTool
impl UnwindSafe for DecodedTool
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,
Source§impl<T> Erasable for T
impl<T> Erasable for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more