![]() |
A container for a set of Tool
objects, manages lookup and execution of their functions.
google.generativeai.types.FunctionLibrary(
tools: Iterable[ToolType]
)
to_proto
to_proto()
__call__
__call__(
fc: protos.FunctionCall
) -> (protos.Part | None)
Call self as a function.
__getitem__
__getitem__(
name: (str | protos.FunctionCall)
) -> (FunctionDeclaration | protos.FunctionDeclaration)