File Export

Export a Google Docs, Sheets or Slides file as a private artifact.

by Google DriveRequires connected account$0.0025 per request · $0.25 per 100 requests

Example

You ask your agent

“Export my Google Doc as plain text.”

You get

Result
Plain text file
File name
workspace-export.bin
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

{
  "tool_id": "google-drive.file-export",
  "input": {
    "path": {
      "fileId": "YOUR-GOOGLE-DRIVE-FILE-ID"
    },
    "query": {
      "mimeType": "text/plain"
    }
  }
}

Response

{
  "note": "file returned as a private artifact",
  "bytes": 46,
  "filename": "workspace-export.bin",
  "content_type": "text/plain"
}

Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use File Export (tool ID: google-drive.file-export). Ask me for the details you need, then show me the result. Help me connect the required app account if needed.

Your agent will also help you connect your app account the first time.

No agent yet? Create your account on the web and connect one from your dashboard later.

Other tools for this job

Compare all 14 →

Questions

Is File Export by Google Drive free?

Scrollport has no free tier: it costs $0.0025 per request ($0.25 per 100 requests), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need my own Google account?

Yes. It works in the Google account you connect to Scrollport, with the access you approve. Scrollport does not provide Google accounts.

Details

About this tool

Exports one Workspace file to a caller-selected Google-supported MIME type, bounded to 25 MiB. Always one upstream request at $0.0025.

All inputs and outputs

Input

pathobject · required

Identifier path for the authorised connected-app record.

queryobject · required

Search terms used to find relevant records.

Output

bytesnumber
content_typestring

Media type of the returned content.

filenamestring
notestring

Note about how the result was produced or limited.

Errors and limits
  • connection_required: This capability acts on the connected Google Workspace, which is not available yet.Open connect_url, approve Google Drive access, then retry this run unchanged.