public ListExternalToolsOptions searchTerm(String searchTerm) {
        if(searchTerm == null || searchTerm.length() < 3) {
            throw new IllegalArgumentException("Search term must be at least 3 characters");
        }
        addSingleItem("search_term", searchTerm);
        return this;
    }
public ListExternalToolsOptions searchTerm ( String searchTerm ) { if ( searchTerm == null || searchTerm . length ( ) < 3 ) { throw new IllegalArgumentException ( "Search term must be at least 3 characters" ) ; } addSingleItem ( "search_term" , searchTerm ) ; return this ; }
Only return tools with a name matching this partial string
@param searchTerm Tool name to search for
@return This object to allow adding more options