Skip to main content

shell_prompt_contributions_for_access

Function shell_prompt_contributions_for_access 

Source
pub fn shell_prompt_contributions_for_access(
    access: &SessionToolAccess,
) -> Vec<PromptContribution>
Expand description

Returns the shell prompt contributions, gating the shell.write reference on whether that tool is actually callable in the current session.