feat(drive): implement update_drive_file function with OAuth scope fix

- Added comprehensive update_drive_file function to modify Google Drive file metadata
- Fixed OAuth scope issue by using 'drive_file' instead of non-existent 'drive_write'
- Supports moving files, renaming, updating descriptions, managing sharing permissions
- Includes support for custom properties and file status (starred/trashed)
- Updated README.md and tool_tiers.yaml documentation
- Successfully tested with all parameters

Fixes #220 (OAuth stdio mode authentication issues)
This commit is contained in:
Rob Sherman
2025-09-29 08:23:38 -07:00
parent c7b1a633d1
commit 541677388b
3 changed files with 151 additions and 1 deletions

View File

@@ -698,8 +698,9 @@ cp .env.oauth21 .env
|------|------|-------------|
| `search_drive_files` | **Core** | Search files with query syntax |
| `get_drive_file_content` | **Core** | Read file content (Office formats) |
| `list_drive_items` | Extended | List folder contents |
| `create_drive_file` | **Core** | Create files or fetch from URLs |
| `list_drive_items` | Extended | List folder contents |
| `update_drive_file` | Extended | Update file metadata, move between folders |
</td>
</tr>