ADK for TypeScript: API Reference
System
Light
Dark
Search…
Preparing search index...
ToolPredicate
Type Alias ToolPredicate
ToolPredicate
:
{
bivariance
(
tool
:
BaseTool
,
readonlyContext
?:
ReadonlyContext
)
:
boolean
;
}
[
"bivariance"
]
Decides whether a tool should be exposed to the LLM based on the tool and optional context.
ADK for TypeScript: API Reference - v2.4.0
Loading...
✕
Decides whether a tool should be exposed to the LLM based on the tool and optional context.