error - google adk google_search tools Built-in tools ({google_search}) and Function Calling cannot be combined in the same request. Please choose one to continue
Ran into this error while trying to setup my LLM agent to do tool calling. In this case, it is " google_search ". in raise_error_async raise ClientError(status_code, response_json, response) google.genai.errors.ClientError: 400 Bad Request. {'message': '{\n "error": {\n "code": 400,\n "message": "Built-in tools ({google_search}) and Function Calling cannot be combined in the same request. Please choose one to continue.",\n "status": "INVALID_ARGUMENT"\n }\n}\n', 'status': 'Bad Request'} The gist of the problem - ADK framework doesn't like me putting Agent model together with tool. To resolve this issue, I have change my agent from Agent ( from google . adk import Agent ) to LlmAgent ( from google . adk . agents import LlmAgent ) đŸ’¥Error code researcher = Agent ( name = " researcher " , model = model_name , description = " Condu...