Google has released the second developer preview of Android 16, which includes the Writing Tools API. This API allows applications to opt out of AI-driven text generation. It features two methods in the EditorInfo class: isWritingToolsEnabled(), which indicates if AI writing tools are active (enabled by default), and setWritingToolsEnabled(), which allows apps to prevent AI tools from rewriting user-generated text. Developers can disable these tools in contexts like password or numeric input fields. The API aims to give developers greater control over when to use AI writing tools, particularly in sensitive scenarios. Keyboard app developers are responsible for adhering to the API guidelines, though users may find ways to bypass restrictions.