ADK for TypeScript: API Reference
    Preparing search index...

    Type Alias ToolPredicate

    ToolPredicate: (tool: BaseTool, readonlyContext: ReadonlyContext) => boolean

    Function to decide whether a tool should be exposed to LLM. Toolset implementer could consider whether to accept such instance in the toolset's constructor and apply the predicate in getTools method.

    Type Declaration