# Uses of Interface
com.google.adk.tools.ToolPredicate

Packages that use ToolPredicate
Package
Description
com.google.adk.tools
com.google.adk.tools.mcp

- ## Uses of ToolPredicate in com.google.adk.tools

  Classes in com.google.adk.tools that implement ToolPredicate
  Modifier and Type
  Class
  Description
  `class`
  `NamedToolPredicate`

- ## Uses of ToolPredicate in com.google.adk.tools.mcp

  Methods in com.google.adk.tools.mcp with parameters of type ToolPredicate
  Modifier and Type
  Method
  Description
  `McpAsyncToolset.Builder`
  McpAsyncToolset.Builder.`toolFilter(@Nullable ToolPredicate toolPredicate)`
  Constructors in com.google.adk.tools.mcp with parameters of type ToolPredicate
  Modifier
  Constructor
  Description
  ``
  `McpToolset(McpSessionManager mcpSessionManager, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ToolPredicate toolPredicate)`
  Initializes the McpToolset with an McpSessionManager.
  ``
  `McpToolset(SseServerParameters connectionParams, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ToolPredicate toolPredicate)`
  Initializes the McpToolset with SSE server parameters.
  ``
  `McpToolset(StreamableHttpServerParameters connectionParams, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ToolPredicate toolPredicate)`
  Initializes the McpToolset with Streamable HTTP server parameters.
  ``
  `McpToolset(io.modelcontextprotocol.client.transport.ServerParameters connectionParams, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ToolPredicate toolPredicate)`
  Initializes the McpToolset with local server parameters.