pub struct ToolOverrideProfile {
pub enabled: Option<bool>,
pub description: Option<String>,
pub schema_tier: Option<String>,
pub timeout_secs: Option<u64>,
}Expand description
A single tool’s file-settable overrides — the ConfigProfile mirror of
ToolOverride (COMPOSABLE-HARNESS-DESIGN.md §3.1 [core.tools.<name>],
§3.2 mapping row core.tools.enabled + [core.tools.<n>].*).
Fields§
§enabled: Option<bool>Some(false) hides the tool from the model entirely.
description: Option<String>Replaces the tool’s built-in description.
schema_tier: Option<String>Per-tool schema tier: full | medium | minimal.
timeout_secs: Option<u64>P4e (§3.1 core.tools.bash.timeout_secs, S14) – see
ToolOverride::timeout_secs. Only meaningful on the bash entry.
Trait Implementations§
Source§impl Clone for ToolOverrideProfile
impl Clone for ToolOverrideProfile
Source§fn clone(&self) -> ToolOverrideProfile
fn clone(&self) -> ToolOverrideProfile
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 ToolOverrideProfile
impl Debug for ToolOverrideProfile
Source§impl Default for ToolOverrideProfile
impl Default for ToolOverrideProfile
Source§fn default() -> ToolOverrideProfile
fn default() -> ToolOverrideProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolOverrideProfile
impl<'de> Deserialize<'de> for ToolOverrideProfile
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 ToolOverrideProfile
impl RefUnwindSafe for ToolOverrideProfile
impl Send for ToolOverrideProfile
impl Sync for ToolOverrideProfile
impl Unpin for ToolOverrideProfile
impl UnsafeUnpin for ToolOverrideProfile
impl UnwindSafe for ToolOverrideProfile
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