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 upgrade Alex Rodriguez's access on the Technical Spec file in Engineering Projects from commenter to writer, as he is now leading the technical implementation phase. After making this change, add a comment stating that Alex was promoted to writer today, mentioning the reason and that it was approved by John Smith.

Available tools:
list_permission
list_files
create_comments
update_permission

Verification checks:
[{"verifier_type": "database_state", "name": "Verify Technical Spec File Exists", "description": "Confirms Technical Spec.pdf exists in Engineering Projects drive (SHOULD PASS)", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt FROM files WHERE name = 'Technical Spec.pdf' AND drive_id = '01JBQM3K8TGHZX9RNVQM5Y2P8B' AND trashed = false;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Alex Rodriguez Permission Updated to Writer", "description": "Confirms Alex Rodriguez permission was upgraded from commenter to writer", "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 = 'writer' AND deleted = false;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Sarah Johnson Permission Updated to Writer", "description": "Confirms Sarah Johnson permission was upgraded from commenter to writer on Employee Handbook", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt FROM permissions WHERE file_id = '01JBQM3K8TGHZX9RNVQM5Y2P8T' AND user_id = '01JBQM3K8TGHZX9RNVQM5Y2P7X' AND role = 'writer' AND deleted = false;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Audit Comments Added", "description": "Confirms audit trail comments were created on both files", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT COUNT(*) AS cnt FROM comments WHERE deleted = false;", "expected_value": 1, "comparison_type": "greater_than"}}]