pub struct ToolsConfig {
pub web: WebToolsConfig,
pub exec: ExecToolConfig,
pub restrict_to_workspace: bool,
pub mcp_servers: HashMap<String, MCPServerConfig>,
pub mcp_manager: MCPManagerConfig,
}Expand description
Tools configuration
Fields§
§web: WebToolsConfig§exec: ExecToolConfig§restrict_to_workspace: bool§mcp_servers: HashMap<String, MCPServerConfig>§mcp_manager: MCPManagerConfigImplementations§
Source§impl ToolsConfig
impl ToolsConfig
pub fn active_mcp_servers(&self) -> HashMap<String, MCPServerConfig>
pub fn is_mcp_server_disabled(&self, name: &str) -> bool
Trait Implementations§
Source§impl Clone for ToolsConfig
impl Clone for ToolsConfig
Source§fn clone(&self) -> ToolsConfig
fn clone(&self) -> ToolsConfig
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 ToolsConfig
impl Debug for ToolsConfig
Source§impl Default for ToolsConfig
impl Default for ToolsConfig
Source§fn default() -> ToolsConfig
fn default() -> ToolsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolsConfig
impl<'de> Deserialize<'de> for ToolsConfig
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
Auto Trait Implementations§
impl Freeze for ToolsConfig
impl RefUnwindSafe for ToolsConfig
impl Send for ToolsConfig
impl Sync for ToolsConfig
impl Unpin for ToolsConfig
impl UnsafeUnpin for ToolsConfig
impl UnwindSafe for ToolsConfig
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