AgentSkillsCN

Drive Io

调试Node覆盖率

SKILL.md

Skill: drive.io Cloud Bridge

Manage your cloud clipboard and file transfers.

Tools

create_clip

  • Description: Sends text, code snippets, or logs to the user's cloud clipboard.
  • Parameters:
    • content: (string) The text to save.
    • title: (string) Optional name for the clip.
    • isPrivate: (boolean) Whether the clip should be private.
  • Returns: A drive.io URL.
  • API Call:
    • POST /api/v1/clips
    • Body: { "content": "...", "title": "...", "isPrivate": true }

upload_file_stream

  • Description: Uploads a file generated by the agent to the cloud.
  • Parameters:
    • filePath: (string) Local path to the file.
    • contentType: (string) MIME type of the file.
  • Returns: A drive.io URL.
  • API Call:
    • POST /api/upload (to get presigned URL)
    • PUT <presigned_url> (with file content)