Google Drive / warm

Get File

Read Google Drive file metadata, including webViewLink when available.

Quick Start

aweb inspect google_drive.get_file
aweb add google_drive
aweb plan "use Google Drive get file in an agent workflow"
import Aweb, { Agent } from '@aweb/sdk';

const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });
const agent = new Agent({ tools: aweb.tools });

agent.add('google_drive');

const plan = await agent.plan('Use Google Drive for this workflow');
const tool = await aweb.tools.inspect('google_drive.get_file');

console.log(plan.nextAction);
console.log(tool.inputSchema);

Tool Card

Tool idgoogle_drive.get_file
ProviderGoogle Drive (google_drive)
Tool nameget_file
Activationwarm
Healthhealthy
Trust score1.00
Transportstreamable_http
Latencynot yet measured
Cost0

Requirements and Governance

Authoauth_2_1_pkce
Credentialsetup_required
Workspacerequired
Approvalnone
RiskREAD
Permissionshttps://www.googleapis.com/auth/drive.file, https://www.googleapis.com/auth/userinfo.email, read
Credential setup/api/mcp-warehouse/credentials/google_drive/init

Schemas

{
  "type": "object",
  "properties": {
    "file_id": {
      "type": "string",
      "description": "Google Drive file id."
    }
  },
  "required": [
    "file_id"
  ],
  "additionalProperties": false
}

Examples

[
  {
    "objective": "Use Google Drive get file in an agent workflow.",
    "args": {
      "file_id": "<file_id>"
    }
  }
]
Back to MCP Tool Cards