pub struct CoreToolsConfig {
pub enabled: Option<Vec<String>>,
pub schema_tier: Option<String>,
pub read_file: ReadFileToolConfig,
pub edit_file: EditFileToolConfig,
pub bash: BashToolConfig,
}Expand description
[core.tools] — registry shaping (§3.1 line 619; replaces
with_builtins() hardcoding, tools/mod.rs:179-192, in P3).
Fields§
§enabled: Option<Vec<String>>The default-active tool names. P3: consumed by ToolRegistry
construction (with_builtins() today is unconditional).
schema_tier: Option<String>Global schema tier — mirrors ConfigProfile::schema_tier; this ONE
is resolved in P1 via HarnessConfig::to_config_profile, since
Config.tool_schema_tier already exists.
read_file: ReadFileToolConfig[core.tools.read_file].
edit_file: EditFileToolConfig[core.tools.edit_file].
bash: BashToolConfig[core.tools.bash] — the one per-tool table P1 resolves into a real
ToolOverride (minus timeout_secs, see BashToolConfig).
Trait Implementations§
Source§impl Clone for CoreToolsConfig
impl Clone for CoreToolsConfig
Source§fn clone(&self) -> CoreToolsConfig
fn clone(&self) -> CoreToolsConfig
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 moreSource§impl Debug for CoreToolsConfig
impl Debug for CoreToolsConfig
Source§impl Default for CoreToolsConfig
impl Default for CoreToolsConfig
Source§fn default() -> CoreToolsConfig
fn default() -> CoreToolsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CoreToolsConfig
impl<'de> Deserialize<'de> for CoreToolsConfig
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 PartialEq for CoreToolsConfig
impl PartialEq for CoreToolsConfig
Source§impl Serialize for CoreToolsConfig
impl Serialize for CoreToolsConfig
impl StructuralPartialEq for CoreToolsConfig
Auto Trait Implementations§
impl Freeze for CoreToolsConfig
impl RefUnwindSafe for CoreToolsConfig
impl Send for CoreToolsConfig
impl Sync for CoreToolsConfig
impl Unpin for CoreToolsConfig
impl UnsafeUnpin for CoreToolsConfig
impl UnwindSafe for CoreToolsConfig
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