The constructor acts as the user-friendly factory.
The configuration for the tool.
Readonly[A unique symbol to identify ADK base tool class.
Readonly[A unique symbol to identify ADK function tool class.
ReadonlydescriptionReadonlyisReadonlynameThe Google API LLM variant to use.
Returns the function declaration with an appended instruction warning the model not to re-invoke the tool while it is still running.
Processes the outgoing LLM request for this tool.
Use cases:
The request to process the LLM request.
Validates the model-provided arguments against the parameter schema and
invokes the user-defined execute function.
The tool request containing arguments and tool context.
A promise resolving to the function's return value.
A FunctionTool for long-running operations whose result is returned asynchronously.
The framework invokes the user-provided function and delivers the response back to the model once it completes, identified by the
function_call_id. The model is also instructed not to re-invoke the tool while a call is already in flight.