The computer and its configuration.
Readonly[Readonly[A unique symbol to identify ADK computer use toolset class.
Optional ReadonlyprefixReadonlytoolCloses the computer and drops the cached tools. The next call to getTools initializes the computer again.
Returns a tool for every action the computer supports, except the excluded ones. The computer is initialized on the first call, and the tools are cached until close.
ProtectedisReturns whether the tool should be exposed to LLM.
The tool to check.
Optionalcontext: ReadonlyContext
Context used to filter tools available to the agent.
Whether the tool should be exposed to LLM.
Registers the computer use tools in the request and adds the computer use configuration, unless the request already has one.
The context of the tool.
The outgoing request.
A toolset that exposes the actions of a BaseComputer to an agent.
The toolset initializes the computer on first use and wraps each action in a ComputerUseTool. Actions on one computer run one at a time, and the computer's
prepare()runs before each of them. When the agent builds a request, the toolset registers its tools and adds the computer use configuration that tells the model which predefined actions it may call.