File Upload

Google Drive

Upload one private ScrollPort artifact into a connected Google Drive.

Current price
$0.0050/call
Availability
Connected app
Last accepted verification

What this API does

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

Agents select this operation with tool ID google-drive.file-upload, then inspect its current executable contract before a run.

Public input and output shape

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

This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.

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"
}
Teaching 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.
Updated
22 August 2026

Use File Upload with Scrollport

Scrollport validates tools for connected apps and provides them on a pay-as-you-go basis so your agent can use accounts you already own without receiving sensitive API keys.

Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.