Creates an ExitLoopTool with its fixed name and description.
Readonly[A unique symbol to identify ADK base tool class.
ReadonlydescriptionReadonlyisReadonlynameThe Google API LLM variant to use.
Returns the function declaration for this tool.
Whether this tool needs a human to approve args before it runs.
The gate itself lives in the tool that owns it (see FunctionTool), but
the resume path has to ask the same question a turn later, to check that an
approval it is about to honour belongs to a tool that gates at all. A tool
that never gates returns false here, which is the safe default: an approval
naming it is meaningless and gets rejected rather than executed. Mirrors
Python's BaseTool.check_require_confirmation.
The arguments the tool would run with.
Optional_toolContext: ContextThe context of the call, when there is one.
Whether the call requires confirmation.
Processes the outgoing LLM request for this tool.
Use cases:
The request to process the LLM request.
Sets escalate and skipSummarization on the event actions, signalling
the LoopAgent to stop iterating.
The tool request containing the current tool context.
An empty string response.
Tool for exiting execution of a LoopAgent.
When called by an LLM agent inside a LoopAgent, this tool sets the
escalateandskipSummarizationflags on the event actions, causing the LoopAgent to stop iterating and exit the loop.