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:
Hey, can you help me with a few things? I just finished the updates for that comment that said the file needed more details on the approach. I added all the necessary stuff. Can you post a reply to that comment for me? Just say something like "I have made the necessary updates." Also, can you add a new comment for Sarah Johnson (sarah.johnson@company.com) and tell her she can use my details as an example for the file she's working on? Since I've handled that comment, can you please change the priority label to low? Oh, and one last thing - please set up watch notifications for me on the Technical Spec.pdf file so I get alerts for any changes. Use these credentials for notifications - id: watch-channel-tech-spec-pdf-20240126, resourceId: tech-spec-pdf-resource-01, resourceUri: https://www.googleapis.com/drive/v3/files/01JBQM3K8TGHZX9RNVQM5Y2P8R, address: https://webhook.site/your-notification-endpoint. Thanks! Oh, star the Technical Spec.pdf, while also granting emily.davis@company.com writers permission. Finally, change the name of the Technical Spec.pdf file to Technical Spec v2.0.pdf and add a description saying "Updated technical specification document with implementation details"

Available tools:
create_comments
create_replies
list_comments
create_permission
modify_files_labels
update_files
list_files
list_files_labels
watch_files

Verification checks:
[{"verifier_type": "database_state", "name": "Verify Priority Label Changed to Low", "description": "Check if priority level changed", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT \n  CASE \n    WHEN EXISTS (\n      SELECT 1 \n      FROM file_labels fl\n      JOIN labels l ON fl.label_id = l.id\n      JOIN files f ON fl.file_id = f.id\n      WHERE f.name = 'Technical Spec v2.0.pdf'\n      AND l.key = 'priority'\n      AND fl.value_enum = 'low'\n    ) \n    THEN 1 \n    ELSE 0 \n  END AS priority_changed_to_low;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Reply to Mike Chen's Comment", "description": "Check that there is a reply to Mike Chen", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT \n  CASE \n    WHEN EXISTS (\n      SELECT 1 \n      FROM replies \n      WHERE content = 'I have made the necessary updates.'\n    ) \n    THEN 1\n    ELSE 0 \n  END AS reply_exists;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify New Comment for Sarah Johnson", "description": "Check if a comment is addressed to Sarah Johnson", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT \n  CASE \n    WHEN EXISTS (\n      SELECT 1 \n      FROM comments \n      WHERE content LIKE '%sarah%'\n    ) \n    THEN 1 \n    ELSE 0 \n  END AS sarah_mentioned;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Watch Notification Setup", "description": "Check if notification is set for Technical Spec file", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT \n  COUNT(*) as watch_notification_count\nFROM channels\nWHERE resource_uri LIKE '%/files/01JBQM3K8TGHZX9RNVQM5Y2P8R%';", "expected_value": 3, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Emily has permission to technical spec", "description": "Emily has permission to technical spec", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT \n  CASE \n    WHEN EXISTS (\n      SELECT 1 \n      FROM permissions p\n      JOIN files f ON p.file_id = f.id\n      JOIN users u ON p.user_id = u.id\n      WHERE f.name = 'Technical Spec v2.0.pdf'\n        AND u.email = 'emily.davis@company.com'\n    ) \n    THEN 1 \n    ELSE 0 \n  END AS emily_has_permission_to_technical_spec;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "technical spec renamed", "description": "Verify technical spec renamed", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT \n  CASE \n    WHEN EXISTS (\n      SELECT 1 \n      FROM files \n      WHERE (name = 'Technical Spec v2.0.pdf')\n    ) \n    THEN 1 \n    ELSE 0 \n  END AS technical_spec_renamed;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "technical spec v2 has description", "description": "technical spec v2 has description", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT \n  CASE \n    WHEN EXISTS (\n      SELECT 1 \n      FROM files \n      WHERE name = 'Technical Spec v2.0.pdf'\n        AND description = 'Updated technical specification document with implementation details'\n    ) \n    THEN 1 \n    ELSE 0 \n  END AS technical_spec_v2_has_description;", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify that technical spec v2 starred", "description": "Verify that technical spec v2 starred", "gym_name": "gym-google-drive-mcp", "validation_config": {"query": "SELECT \n  CASE \n    WHEN EXISTS (\n      SELECT 1 \n      FROM files \n      WHERE name = 'Technical Spec v2.0.pdf'\n        AND starred = 1\n    ) \n    THEN 1 \n    ELSE 0 \n  END AS technical_spec_v2_starred;", "expected_value": 1, "comparison_type": "equals"}}]