add_drive
Add a new Google Drive account to the configuration using service account authentication, enabling access to multiple drives for file operations.
Instructions
Add a new Google Drive account to the configuration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | Optional description | |
| driveId | Yes | Unique ID for this drive (e.g., 'personal', 'work') | |
| name | Yes | Display name for the drive | |
| serviceAccountPath | Yes | Path to Service Account JSON file (e.g., './credentials/personal-sa.json') |
Input Schema (JSON Schema)
{
"properties": {
"description": {
"description": "Optional description",
"type": "string"
},
"driveId": {
"description": "Unique ID for this drive (e.g., 'personal', 'work')",
"type": "string"
},
"name": {
"description": "Display name for the drive",
"type": "string"
},
"serviceAccountPath": {
"description": "Path to Service Account JSON file (e.g., './credentials/personal-sa.json')",
"type": "string"
}
},
"required": [
"driveId",
"name",
"serviceAccountPath"
],
"type": "object"
}