(
    ctx: Any, args: List[str], incomplete: str
)
Return list of tools supported by bento

        Hides experimental tools
Return list of tools supported by bento
Return list of tools supported by bento
def get_valid_tools(
    ctx: Any, args: List[str], incomplete: str
) -> AutocompleteSuggestions:
    """
        Return list of tools supported by bento

        Hides experimental tools
    """
    # context is not yet initialized, so just do it now
    try:
        tool_list = sorted(
            [
                (t.tool_id(), t.tool_desc())
                for t in bento.extra.TOOLS
                if t not in bento.extra.EXPERIMENTAL_TOOLS
            ],
            key=(lambda td: td[0]),
        )
        results = list(filter(lambda s: s[0].startswith(incomplete), tool_list))
        return cast(AutocompleteSuggestions, results)
    except Exception as ex:
        logging.warning(ex)
        return []
def get_valid_tools ( ctx : Any , args : List [ str ] , incomplete : str ) -> AutocompleteSuggestions : # context is not yet initialized, so just do it now try : tool_list = sorted ( [ ( t . tool_id ( ) , t . tool_desc ( ) ) for t in bento . extra . TOOLS if t not in bento . extra . EXPERIMENTAL_TOOLS ] , key = ( lambda td : td [ 0 ] ) , ) results = list ( filter ( lambda s : s [ 0 ] . startswith ( incomplete ) , tool_list ) ) return cast ( AutocompleteSuggestions , results ) except Exception as ex : logging . warning ( ex ) return [ ]