Skip to main content

FILE_DISCOVERY_TOOLS

Constant FILE_DISCOVERY_TOOLS 

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

Tool names FILE_DISCOVERY_GUIDANCE instructs the model to call (#4602).

Why: a prompt section that names a tool the run’s registry does not hold is an instruction the model cannot obey — the call it emits fails validation as ToolCallExtractError::UnknownTool. Declaring the names beside the section is what lets assemble_system_prompt_for_mode check them and lets the regression test check every name the guidance actually mentions. What: the exact backtick-quoted tool names appearing in the section text. Test: prompt::tests::guidance_never_names_an_unregistered_tool, prompt::tests::every_gated_section_declares_the_tools_it_names.