Skip to main content

normalize_multi_edit_tool_name

Function normalize_multi_edit_tool_name 

Source
pub fn normalize_multi_edit_tool_name(name: &str) -> Option<&'static str>
Expand description

Resolves name to the canonical MultiEdit tool name ("multi_edit"), or None when name is not a MultiEdit spelling.

When the deprecated legacy "multiedit" spelling is seen, the one-time process-wide stderr deprecation warning fires (see warn_legacy_multi_edit_tool_name). Use this helper at dispatch points so both spellings keep working during the migration window; use is_multi_edit_tool_name for side-effect-free queries.