Skip to main content

selection_result

Function selection_result 

Source
pub fn selection_result(
    file_path: Option<&Path>,
    selected_text: &str,
    selection: Option<&Selection>,
) -> Value
Expand description

getCurrentSelection result. None selection → an empty result (the agent’s “nothing selected” case), not an error.