Available on crate feature
tools only.Expand description
Tool system and built-in tools.
Give agents capabilities beyond conversation:
FunctionTool- Wrap async functions as toolsGoogleSearchTool- Web searchExitLoopTool- Control loop agentsMcpToolset- MCP server integration
Available with feature: tools
Modules§
Structs§
- Agent
Tool - AgentTool wraps an Agent to make it callable as a Tool.
- Agent
Tool Config - Configuration options for AgentTool behavior.
- Basic
Toolset - Exit
Loop Tool - Function
Tool - Google
Search Tool - GoogleSearch is a built-in tool that is automatically invoked by Gemini models to retrieve search results from Google Search. The tool operates internally within the model and does not require or perform local code execution.
- Load
Artifacts Tool - McpToolset
- MCP Toolset - connects to an MCP server and exposes its tools as ADK tools.
Traits§
Functions§
- string_
predicate - Creates a predicate that allows only tools with names in the provided list