Back to Manage Google Drive files

File Upload

Google Drive

Upload one private ScrollPort artifact into a connected Google Drive.

Use this tool with your AI agent

  1. Copy the prompt
  2. Paste it into your agent
  3. 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 Upload (tool ID: google-drive.file-upload). Ask me for the details you need, then show me the result. Help me connect the required app account if needed.

Already connected
Your agent can use that connection.
New user
Your agent will guide you through setup, sign-in and authorisation.

This tool also needs you to connect your app account.

Connect your first agent to receive $1 trial credit.

Current price
$0.0025/request
Availability
Requires connected account

Tool details

About this tool

Reads only a ScrollPort-signed private artifact URL and performs a bounded multipart upload with file metadata. Always one upstream request at $0.0025.

Inputs and outputs

Input

bodyobject · required

Bounded request body sent to the connected application.

queryobject · optional

Search terms used to find relevant records.

Output

idstring

Returned id value.

mimeTypestring

Returned mime type value.

namestring

Returned name value.

sizestring

Returned size value.

Example request and output

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

Request

{
  "tool_id": "google-drive.file-upload",
  "input": {
    "body": {
      "metadata": {
        "name": "Scrollport verification export.pdf"
      },
      "artifact_url": "YOUR-SCROLLPORT-ARTIFACT-URL",
      "content_type": "application/pdf"
    },
    "query": {
      "fields": "id,name,mimeType,parents,size,webViewLink"
    }
  }
}

Output

{
  "id": "file-output-id",
  "name": "launch-plan.pdf",
  "size": "24576",
  "mimeType": "application/pdf"
}
Errors and limitations
  • 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.