pub struct ToolsConfig {
pub mcp_servers: Vec<McpServerConfig>,
pub default_timeout: Duration,
pub tool_timeouts: HashMap<String, Duration>,
pub max_concurrent: usize,
pub builtins_enabled: bool,
pub shell_enabled: bool,
pub comms_enabled: bool,
pub mob_enabled: bool,
}Expand description
Tools configuration
Fields§
§mcp_servers: Vec<McpServerConfig>MCP server configurations
default_timeout: DurationDefault timeout for tool execution (supports humantime format: “30s”, “1m”)
tool_timeouts: HashMap<String, Duration>Per-tool timeout overrides (supports humantime format: “30s”, “1m”)
max_concurrent: usizeMaximum concurrent tool executions
builtins_enabled: boolBuiltin tools enabled
shell_enabled: boolShell tools enabled
comms_enabled: boolComms tools enabled
mob_enabled: boolMob (multi-agent orchestration) tools enabled
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§impl<'de> Deserialize<'de> for ToolsConfigwhere
ToolsConfig: Default,
impl<'de> Deserialize<'de> for ToolsConfigwhere
ToolsConfig: Default,
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