Skip to main content

tool_state_changes

Function tool_state_changes 

Source
pub fn tool_state_changes(
    previous: &[ToolDeclaration],
    current: &[ToolDeclaration],
) -> (Vec<ToolDeclaration>, Vec<ToolReference>)
Expand description

Declarations to add and names to remove to get from previous to current. A changed declaration is both removed and added.