arXiv:2609.06792cs.AISep 2026

Manuscript Offprint

arXiv:2609.06792

Improving Proficiency and Efficiency of Android GUI Agents via Self-Generating Tool Actions

Juyong Lee, Woogyeol Jin, Kimin Lee

Abstract

Android agents using a hybrid action space that combines GUI actions and tool actions (e.g., accessing application data via APIs) remain largely underexplored, mainly due to the excessive effort required to create tools. To address this gap, we introduce DroidTool, a framework for augmenting the agents with self-generated tools, which are realized as Python functions operating on application states (e.g., a database). To create tools with minimal human labor, DroidTool employs an agentic workflow featuring stages: proposal, implementation, test generation and execution, and repair. Notably, when testing the created tools for verification, it constructs relational tests across relevant tools for natural preparation of appropriate test preconditions and improved test coverage, rather than testing each tool separately. The GUI agents augmented with the generated tools achieved approximately 4.47%p higher performance with approximately 20.05% fewer interactions than the GUI-only agents, averaged across representative benchmarks: AndroidWorld, B-MoCA, and MobileSafetyBench.

1 Introduction

Agents powered by large language models (LLMs) using mobile devices have become increasingly capable [Yang et al., 2025b, Xu et al., 2026]. While GUI actions afford a universal interface, they often require long action sequences. Tool actions, such as those enabled by application programming interfaces (APIs), offer an alternative interface [Jia et al., 2026, Android, 2026]. For example, a tool action directly accessing a database of a note application can replace a sequence of GUI actions composed of navigating to the target, selecting the relevant text, and entering the new content, into a single action. This shortcut motivates a hybrid action space that complements GUI actions with tool actions [Hu et al., 2026]. However, tool actions for mobile devices remain largely underexplored due to substantial human labor required to craft tools.

To bridge this gap, we introduce DroidTool, a framework for augmenting GUI agents with self-generated tools via an agentic workflow. The workflow proposes tools operating on application states, as many application functionalities can be represented with operations on application states, and implements them as Python functions. Then, to ensure tool reliability in deployment, the workflow verifies them through test generation and execution, followed by an iterative repair process for tools that fail tests. The verified tools are promoted as additional action options, enabling agents either execute GUI actions or utilize the tools via function calling to perform downstream tasks more effectively.

Importantly, we observed a challenge in verifying the created tools. Common practice of testing with mock interfaces often results in failure in real emulators. Yet, testing with a real device is also not trivial, due to the difficulty of setting appropriate preconditions. For instance, properly testing a tool for reading data demands knowing whether entries exist or not, and a tool for deleting data requires a target entry, while preparing such preconditions requires external intervention or functioning tools.

Preprint.

Figure

Figure 1: Overview of DroidTool. Agents interleave GUI actions with generated tool actions that directly operate on application states.

Figure 2: Overview of the agentic tool generation workflow within DroidTool. Tools generated via this workflow are later used by GUI agents.

To address this, we propose a workflow considering relations among the tools to construct a sequence of tests. Within the tests, the related tools establish one another's testing preconditions. For example, a tool for creating data produces an entity that a tool for reading can verify and a tool for deleting can subsequently remove. This improves the verification coverage and, consequently, tool reliability.

We evaluated the GUI agents augmented with the verified self-generated tools on three representative benchmarks: AndroidWorld [Rawles et al., 2025], B-MoCA [Lee et al., 2024], and MobileSafetyBench [Lee et al., 2026b]. Across these benchmarks, the agents achieved task success rates approximately 4.47% p higher than the GUI-only counterparts on average, while consuming approximately 20.05% fewer interactions.