Skip to content

rsmobilelab/OpenFileApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

OpenFileApi

πŸš€ RS File Manager OpenClaw Skills: Turn your Android device into a local file server for AI Agents. Enables LLMs to browse, manage, upload, and download files securely via a RESTful API.

Platform Protocol

RS File Manager OpenClaw Skills provides a powerful interface that transforms your Android mobile device into a local file server. This project defines the standard skills (APIs) that allow AI agents and LLMs to securely connect to RS File Manager, enabling them to view, manage, upload, and download files directly on the device.

πŸ“‹ Requirements & Setup To use the OpenClaw Skills interface, please ensure the following: App Version: RS File Manager v2.2.7 or higher is strictly required. How to Enable: Open the RS File Manager app. Navigate to Settings -> Advanced Settings. Select Skills - File Service API to toggle the service on. Credentials: Once enabled, the configuration page will display the IP Address, Port, and API Token required for authentication.

✨ Key Features

  • Mobile-as-a-Server: Seamlessly bridge the gap between AI agents and local mobile storage.
  • Comprehensive File Management: Support for listing, searching, moving, renaming, and deleting files.
  • Secure Data Transfer: Built-in support for direct file uploads and downloads.
  • AI-Optimized: Designed specifically for Agentic workflows with clear inputs and structured JSON outputs.

πŸ“‹ Requirements & Setup To use the OpenClaw Skills interface, please ensure the following: App Version: RS File Manager v2.2.7 or higher is strictly required. How to Enable: Open the RS File Manager app. Navigate to Settings -> Advanced Settings. Select Skills - File Service API to toggle the service on. Credentials: Once enabled, the configuration page will display the IP Address, Port, and API Token required for authentication.

✨ Key Features

  • Mobile-as-a-Server: Seamlessly bridge the gap between AI agents and local mobile storage.

  • Comprehensive File Management: Support for listing, searching, moving, renaming, and deleting files.

  • Secure Data Transfer: Built-in support for direct file uploads and downloads.

  • AI-Optimized: Designed specifically for Agentic workflows with clear inputs and structured JSON outputs.

  • file_operation: Perform move, copy, rename, or delete actions.

  • download_file: Retrieve raw file content with appropriate MIME types.

  • upload_file: Upload new files using application/octet-stream binary data.


πŸ’‘ Usage Example

Renaming a File

To rename a document, send a POST request to /op with the following JSON body:

{
  "action": "rename",
  "src": "/storage/emulated/0/Documents/old_report.pdf",
  "dest": "new_report.pdf"
}
   

About

πŸš€ RS File Manager OpenClaw Skills: Turn your Android device into a local file server for AI Agents. Enables LLMs to browse, manage, upload, and download files securely via a RESTful API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages