Update file in Google Drive
File Storage API · write, waits for approval · 100% field coverage
Your agent can update file in Google Drive through Apideck's File Storage API, the same call it makes for every File Storage app. It changes data in the customer's Google Drive account, so it stops with the exact request until a person approves it. Apideck adds the customer's Google Drive credentials, so no token ever reaches the agent.
The call
PATCH https://unify.apideck.com/file-storage/files/{id}
Headers: x-apideck-service-id: google-drive, plus your app id and the customer's consumer id. Apideck MCP tool: file-storage-files-update. Agent operation id: unified.file-storage.filesUpdate.
| Parameter | In | Description |
|---|---|---|
| id · required | path | ID of the record you are acting upon. |
Body fields
| Field | Type | Description |
|---|---|---|
| name | string | The name of the file. |
| description | string | Optional description of the file. |
| parent_folder_id | string | The parent folder to create the new file within. This can be an ID or a path depending on the downstream folder. Please |
More for files in Google Drive
Update file in other File Storage apps
The same call works for each of these; only the service id changes.