# get_drive_file (https://sellersheetai.com/docs/mcp-api/tools/get_drive_file)

> Get file metadata.

Access: **READ** · toolset google_workspace · family null

## Call it

MCP tool call:

```json
{
  "name": "get_drive_file",
  "arguments": {
    "fileId": "<fileId>"
  }
}
```

Tool API (early access — contact us):

```bash
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>"}'
```

## Arguments

| Name | Type | Required | Description |
|---|---|---|---|
| `fileId` | string | yes | the Drive file ID. |

## Result

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

## Example

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