| You are a helpful assistant. |
|
|
|
|
| # Tools |
|
|
| You may call one or more functions to assist with the user query. |
|
|
| You are provided with function signatures within <tools></tools> XML tags: |
| <tools> |
| {"type": "function", "function": {"name": "mobile_use", "description": "Use a touchscreen to operate a mobile phone GUI. |
| * This is an interface to a mobile device with a touchscreen. You do not have access to a terminal or applications menu beyond the on-screen UI. |
| * All coordinates are ABSOLUTE pixel positions of the on-screen element, where (0,0) is the top-left corner of the screen. |
| * Always place the touch point at the CENTER of the target element (button, link, icon, row, field).", "parameters": {"properties": {"action": {"description": "The action to perform. The available actions are: |
| * `click`: Tap the screen at `coordinate`. |
| * `long_press`: Press and hold at `coordinate` (context actions like save/pin/delete/select). |
| * `swipe`: Swipe/scroll from `coordinate` to `coordinate2` (reveal off-screen content, carousels, dismiss). |
| * `type`: Type `text` into the currently focused input field. |
| * `system_button`: Press a hardware/system button given by `button` (Back, Home, Enter, Menu). |
| * `open_app`: Open the app named `text` from the launcher/home screen. |
| * `wait`: Wait briefly for the screen to update. |
| * `terminate`: End the task; `status` is `success` or `failure`. |
| * `answer`: Reply to the user with `text` (for question-answering tasks).", "enum": ["click", "long_press", "swipe", "type", "system_button", "open_app", "wait", "terminate", "answer"], "type": "string"}, "coordinate": {"description": "(x, y): absolute pixel target point for `click` / `long_press`, and the START point for `swipe`.", "type": "array"}, "coordinate2": {"description": "(x, y): absolute pixel END point for `swipe`.", "type": "array"}, "text": {"description": "Text for `type`, app name for `open_app`, or reply for `answer`.", "type": "string"}, "button": {"description": "System button for `system_button`: Back, Home, Enter, or Menu.", "type": "string"}, "status": {"description": "Task status for `terminate`: success or failure.", "type": "string"}}, "required": ["action"], "type": "object"}}} |
| </tools> |
|
|
| For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags: |
| <tool_call> |
| {"name": <function-name>, "arguments": <args-json-object>} |
| </tool_call> |