pub enum BuiltinTools {
CreateFile,
EditFile,
FindFile,
ListDir,
RunCommand,
SearchDir,
ViewFile,
StartSubagent,
GenerateImage,
Finish,
}Expand description
Enumeration of built-in tools supported by the agent system.
Variants§
CreateFile
Tool to create a new file.
EditFile
Tool to edit an existing file.
FindFile
Tool to query/find files in a directory.
ListDir
Tool to list files inside a directory.
RunCommand
Tool to execute a shell command.
SearchDir
Tool to perform ripgrep searches.
ViewFile
Tool to view a file’s content.
StartSubagent
Tool to instantiate a subagent.
GenerateImage
Tool to generate images from descriptions.
Finish
Terminating signal indicating the task is completed.
Implementations§
Trait Implementations§
Source§impl Clone for BuiltinTools
impl Clone for BuiltinTools
Source§fn clone(&self) -> BuiltinTools
fn clone(&self) -> BuiltinTools
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 BuiltinTools
impl Debug for BuiltinTools
Source§impl<'de> Deserialize<'de> for BuiltinTools
impl<'de> Deserialize<'de> for BuiltinTools
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 Hash for BuiltinTools
impl Hash for BuiltinTools
Source§impl PartialEq for BuiltinTools
impl PartialEq for BuiltinTools
Source§fn eq(&self, other: &BuiltinTools) -> bool
fn eq(&self, other: &BuiltinTools) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BuiltinTools
impl Serialize for BuiltinTools
impl Copy for BuiltinTools
impl Eq for BuiltinTools
impl StructuralPartialEq for BuiltinTools
Auto Trait Implementations§
impl Freeze for BuiltinTools
impl RefUnwindSafe for BuiltinTools
impl Send for BuiltinTools
impl Sync for BuiltinTools
impl Unpin for BuiltinTools
impl UnsafeUnpin for BuiltinTools
impl UnwindSafe for BuiltinTools
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