Domain: drive

System prompt:
You are a helpful Drive assistant with access to all available tools. Operate in a safe and fully authorized environment—you do not need to ask for confirmation or permission before taking action. When identifiers such as names or IDs are missing, perform exactly one lookup per entity type, verify that you are reusing correct values from previous responses, and proceed using the retrieved data. Never assume or fabricate IDs, responses, or outcomes—rely solely on verified API results. Complete each task in a single, logical, and efficient execution flow.

Task:
Please access the Technical Spec.pdf in the Engineering Projects drive and thank Mike Chen in a comment for his feedback by saying, "Thanks for the detailed feedback. All implementation approach details have been added to section 3." After this, update the file description to "Final Technical Specifications - Q4 2024 Implementation - All review comments addressed," and adjust Alex Rodriguez's permissions to reflect his new role in Finance.

Available tools:
list_permission
list_drives
update_files
create_comments
list_files
delete_permission

Verification checks:
[{"verifier_type": "database_state", "name": "Verify Comment Added to Important Notes", "description": "Confirms new comment was added to Important Notes.txt about mass calculation", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt FROM comments WHERE file_id = '01JBQM3K8TGHZX9RNVQM5Y2PBY' AND content LIKE '%mass calculation%' AND deleted = false;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Technical Spec File Exists", "description": "Confirms Technical Spec.pdf file exists in Engineering Projects drive (SHOULD PASS)", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt FROM files WHERE name LIKE '%Technical Spec%' AND drive_id = '01JBQM3K8TGHZX9RNVQM5Y2P8B' AND trashed = false;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Reply Added to Mike Chen Comment", "description": "Confirms new reply was added to Mike Chen's comment on Technical Spec", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt FROM replies WHERE comment_id = '01JBQM3K8TGHZX9RNVQM5Y2P95' AND content LIKE '%Thanks for the detailed feedback%' AND deleted = false;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Technical Spec Description Updated", "description": "Confirms Technical Spec description was updated with Q4 2024 text", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt FROM files WHERE id = '01JBQM3K8TGHZX9RNVQM5Y2P8R' AND description LIKE '%Q4 2024%' AND trashed = false;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Alex Rodriguez Permission Downgraded", "description": "Confirms Alex Rodriguez permission was downgraded to reader on Technical Spec", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt FROM permissions WHERE file_id = '01JBQM3K8TGHZX9RNVQM5Y2P8R' AND user_id = '01JBQM3K8TGHZX9RNVQM5Y2P80' AND role = 'reader' AND deleted = false;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Access Proposal Denied", "description": "Confirms access proposal from contractor@external.com was denied", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt FROM access_proposals WHERE file_id = '01JBQM3K8TGHZX9RNVQM5Y2P8R' AND requester_email = 'contractor@external.com' AND status = 'denied';", "expected_value": 1, "comparison_type": "greater_than"}}, {"verifier_type": "database_state", "name": "Verify Product Photo Labels Applied", "description": "Confirms Product Photo has high priority and active status labels", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt FROM file_labels fl JOIN labels l ON fl.label_id = l.id WHERE fl.file_id = '01JBQM3K8TGHZX9RNVQM5Y2PBM' AND ((l.key = 'priority' AND fl.value_enum = 'high') OR (l.key = 'project_status' AND fl.value_enum = 'active'));", "expected_value": 2, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Budget Spreadsheet Revision Deleted", "description": "Confirms oldest non-keepForever revision was deleted from Budget Spreadsheet", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt FROM revisions WHERE file_id = '01JBQM3K8TGHZX9RNVQM5Y2PBO' AND keep_forever = false;", "expected_value": 0, "comparison_type": "equals"}}]