← MCP Catalog

android_write_file

Writes text content to a file. Creates the file if it doesn't exist, creates parent directories automatically, overwrites existing content. Empty content creates an empty file.

MCPAndroid AuthorizationOAuth on device

Parameters

location_idstring · required

Storage location ID from `android_list_storage_locations`

pathstring · required

Relative path to the file within the storage location

contentstring · required

Text content to write (empty string creates an empty file)