get_drive_file

Get file metadata.

readGoogle Sheets, Docs & Drive

Call it

In an AI client (MCP)

tools/call
{
  "name": "get_drive_file",
  "arguments": {
    "fileId": "<fileId>"
  }
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/get_drive_file \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"fileId":"<fileId>"}'
Early access — the Tool API is open on request, contact us.

Arguments

NameTypeDescription
fileIdrequiredstringthe Drive file ID.

Result

Every tool answers {notification, data, human_action}; data carries:

  • file — File metadata dict with id, name, mimeType, size, modifiedTime, parents, webViewLink.

Example

get_drive_file(fileId="1XYZ...")

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude