MCPcopy Create free account
hub / github.com/OpenBMB/AgentCPM-GUI / description

Method description

eval/utils/utils_qwen/agent_function_call.py:149–158  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

147class ComputerUse(BaseTool):
148 @property
149 def description(self):
150 return f"""
151Use a mouse and keyboard to interact with a computer, and take screenshots.
152* This is an interface to a desktop GUI. You do not have access to a terminal or applications menu. You must click on desktop icons to start applications.
153* Some applications may take time to start or process actions, so you may need to wait and take successive screenshots to see the results of your actions. E.g. if you click on Firefox and a window doesn't open, try wait and taking another screenshot.
154* The screen's resolution is {self.display_width_px}x{self.display_height_px}.
155* Whenever you intend to move the cursor to click on an element like an icon, you should consult a screenshot to determine the coordinates of the element before moving the cursor.
156* If you tried clicking on a program or link but it failed to load, even after waiting, try adjusting your cursor position so that the tip of the cursor visually falls on the element that you want to click.
157* Make sure to click any buttons, links, icons, etc with the cursor tip in the center of the element. Don't click boxes on their edges unless asked.
158""".strip()
159
160 parameters = {
161 "properties": {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected