pub struct EditFileToolConfig {
pub require_read_before_edit: Option<bool>,
pub notebook_aware: Option<bool>,
pub schema_tier: Option<String>,
}Expand description
[core.tools.edit_file]. P3/P4: require_read_before_edit/
notebook_aware have no ToolOverride home yet (S6/S12 catalog rows 32,
40 — ToolContext state). schema_tier DOES resolve (P2 addition,
mirroring [core.tools.bash].schema_tier’s existing P1 handling in
HarnessConfig::to_config_profile) — needed for token-saver’s own
C9 resolution (§2.2: “per-tool Full override survives a global
minimal”, design §4.5) to actually materialize into the resolved
Config rather than silently parsing-and-dropping the one field the
preset relies on.
Fields§
§require_read_before_edit: Option<bool>Require a prior read_file on the same path before an edit is
accepted (unique CC row, catalog:32).
notebook_aware: Option<bool>Notebook-cell-aware editing (unique CC row “NotebookEdit”, catalog:40).
schema_tier: Option<String>Per-tool schema tier override — ToolOverride::schema_tier for
edit_file (config.rs; C9, catalog §5 conflict 9).
Trait Implementations§
Source§impl Clone for EditFileToolConfig
impl Clone for EditFileToolConfig
Source§fn clone(&self) -> EditFileToolConfig
fn clone(&self) -> EditFileToolConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more