Open
Feature
0 of 1 issue completed
Description
Right now, the Gemini server is limited to only one type of tools among the following list:
- Function declaration (mostly used for python function
FunctionTool
and other subclass ofBaseTool
) - Google Search (Gemini model built-in tool)
- Vertex AI Search (Gemini model built-in tool)
- BuiltInCodeExecutor (Gemini model built-in tool)
- ...
Full list of built-in tools are at https://github.com/googleapis/python-genai/blob/main/google/genai/types.py#L2692
If your agent is using more than one type of tools, currently it is not supported.
Workaround options:
- Use a sub-agent that only carries the built-in tool
- Use AgentTool that only carries the built-in tool and store the response to state for other agents to use.