pub enum ToolFamily {
File,
Search,
CodeIntelligence,
Git,
Network,
AdvancedNetwork,
Shell,
Extension,
Plugin,
}Expand description
Stable presentation family for a tool.
Families are model-presentation metadata, not execution registration. The registry remains the source of executable tools; presentation policy decides which registered tools are shown to the provider for a turn/session.
Variants§
File
File and directory operations.
Search
Text search and file inspection operations.
CodeIntelligence
AST/code-structure tools.
Git
Git repository tools.
Network
Network, web, and URL tools.
AdvancedNetwork
Advanced network/API debugging tools that should be disclosed only when needed.
Shell
Shell or command execution tools.
Extension
Tools supplied by extensions, MCP, or unknown sources.
Plugin
Plugin tools that must be explicitly disclosed before model presentation.
Trait Implementations§
Source§impl Clone for ToolFamily
impl Clone for ToolFamily
Source§fn clone(&self) -> ToolFamily
fn clone(&self) -> ToolFamily
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 moreimpl Copy for ToolFamily
Source§impl Debug for ToolFamily
impl Debug for ToolFamily
Source§impl Default for ToolFamily
impl Default for ToolFamily
Source§fn default() -> ToolFamily
fn default() -> ToolFamily
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolFamily
impl<'de> Deserialize<'de> for ToolFamily
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 ToolFamily
Source§impl Hash for ToolFamily
impl Hash for ToolFamily
Source§impl JsonSchema for ToolFamily
impl JsonSchema for ToolFamily
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 Ord for ToolFamily
impl Ord for ToolFamily
Source§fn cmp(&self, other: &ToolFamily) -> Ordering
fn cmp(&self, other: &ToolFamily) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ToolFamily
impl PartialEq for ToolFamily
Source§impl PartialOrd for ToolFamily
impl PartialOrd for ToolFamily
Source§impl Serialize for ToolFamily
impl Serialize for ToolFamily
impl StructuralPartialEq for ToolFamily
Auto Trait Implementations§
impl Freeze for ToolFamily
impl RefUnwindSafe for ToolFamily
impl Send for ToolFamily
impl Sync for ToolFamily
impl Unpin for ToolFamily
impl UnsafeUnpin for ToolFamily
impl UnwindSafe for ToolFamily
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