Skip to main content

update_tool_call_presentation

Function update_tool_call_presentation 

Source
pub fn update_tool_call_presentation(
    previous: Option<&ToolCallPresentation>,
    title: &str,
    kind: Option<ToolKind>,
    raw_input: Option<&Value>,
    raw_output: Option<&Value>,
) -> ToolCallPresentation
Expand description

Apply the presentation-relevant portion of a partial ACP update to cached metadata. ACP updates replace only fields that are present, so a title update must not erase a summary selected from an earlier raw command.