device_files
Manage files on a rooted Android device by listing, reading, writing, copying, moving, deleting, hashing, and setting permissions, with atomic replacement and backups by default.
Instructions
Root file manager: list/stat/read/write/append/hash/mkdir/chmod/copy/move/delete. Text or base64, atomic replacement, preserve existing ownership/mode, backup by default, optional compare-and-swap SHA256. Use transfer for large files/trees.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 600 | |
| path | Yes | ||
| root | No | ||
| text | No | ||
| action | Yes | ||
| backup | No | ||
| encoding | No | utf-8 | |
| max_bytes | No | ||
| recursive | No | ||
| destination | No | ||
| expected_sha256 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||