pub enum ToolPackKind {
WorkspaceReadOnly,
WorkspaceSearch,
WorkspaceEdit,
WorkspaceWrite,
Shell,
ResourceReaders,
ToolDiscovery,
External,
}Expand description
Enumerates the finite tool pack kind cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
WorkspaceReadOnly
Use this variant when the contract needs to represent workspace read only; selecting it has no side effect by itself.
WorkspaceSearch
Use this variant when the contract needs to represent workspace search; selecting it has no side effect by itself.
WorkspaceEdit
Use this variant when the contract needs to represent workspace edit; selecting it has no side effect by itself.
WorkspaceWrite
Use this variant when the contract needs to represent workspace write; selecting it has no side effect by itself.
Shell
Use this variant when the contract needs to represent shell; selecting it has no side effect by itself.
ResourceReaders
Use this variant when the contract needs to represent resource readers; selecting it has no side effect by itself.
ToolDiscovery
Use this variant when the contract needs to represent tool discovery; selecting it has no side effect by itself.
External
Use this variant when the contract needs to represent external; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for ToolPackKind
impl Clone for ToolPackKind
Source§fn clone(&self) -> ToolPackKind
fn clone(&self) -> ToolPackKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ToolPackKind
impl Debug for ToolPackKind
Source§impl<'de> Deserialize<'de> for ToolPackKind
impl<'de> Deserialize<'de> for ToolPackKind
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>,
Source§impl PartialEq for ToolPackKind
impl PartialEq for ToolPackKind
Source§fn eq(&self, other: &ToolPackKind) -> bool
fn eq(&self, other: &ToolPackKind) -> bool
self and other values to be equal, and is used by ==.