Skip to main content

EDIT_TOOL_NAMES

Constant EDIT_TOOL_NAMES 

Source
pub const EDIT_TOOL_NAMES: &[&str];
Expand description

lean-ctx tools whose sole purpose is editing the user’s source files. When prefer_native_editor is set (#454) these are hidden from list_tools and refused at dispatch so the host’s native editor handles edits instead.

Deliberately narrow: only the dedicated edit tools are blocked — ctx_edit (str_replace) and ctx_patch (anchored, #1008). LSP refactor (ctx_refactor) also exposes read-only sub-actions (references/definition), so it is left available; users wanting it gone can add it to disabled_tools.