pub enum ToolCategory {
FileRead,
FileWrite,
FileSearch,
Shell,
Network,
Delegation,
}Expand description
Toolpath’s classification of what a tool invocation does.
This is toolpath’s ontology, not a provider-specific label. Provider
crates map their tool names into these categories. None means the
tool isn’t recognized — consumers still have name and input for
anything we don’t classify.
Variants§
FileRead
Read a file — no side effects on the filesystem.
FileWrite
Write, edit, create, or delete a file.
FileSearch
Search or discover files by name or content pattern.
Shell
Shell or terminal command execution.
Network
Network access — web fetch, search, API call.
Delegation
Spawn a sub-agent or delegate work.
Trait Implementations§
Source§impl Clone for ToolCategory
impl Clone for ToolCategory
Source§fn clone(&self) -> ToolCategory
fn clone(&self) -> ToolCategory
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 moreSource§impl Debug for ToolCategory
impl Debug for ToolCategory
Source§impl<'de> Deserialize<'de> for ToolCategory
impl<'de> Deserialize<'de> for ToolCategory
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 ToolCategory
impl Hash for ToolCategory
Source§impl PartialEq for ToolCategory
impl PartialEq for ToolCategory
Source§impl Serialize for ToolCategory
impl Serialize for ToolCategory
impl Copy for ToolCategory
impl Eq for ToolCategory
impl StructuralPartialEq for ToolCategory
Auto Trait Implementations§
impl Freeze for ToolCategory
impl RefUnwindSafe for ToolCategory
impl Send for ToolCategory
impl Sync for ToolCategory
impl Unpin for ToolCategory
impl UnsafeUnpin for ToolCategory
impl UnwindSafe for ToolCategory
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