Coding
PromptBeginner5 minmarkdown
Nano Banana Pro
Agent skill for nano-banana-pro
7
The Google Drive MCP server provides two main tools for interacting with Google Drive files:
Sign in to like and favorite skills
The Google Drive MCP server provides two main tools for interacting with Google Drive files:
Search for files in Google Drive:
<use_mcp_tool> <server_name>gdrive</server_name> <tool_name>gdrive_search</tool_name> <arguments> { "query": "your search term" } </arguments> </use_mcp_tool>
Returns: List of files with their names, MIME types, and IDs
Read a file's contents using its ID:
<use_mcp_tool> <server_name>gdrive</server_name> <tool_name>gdrive_read_file</tool_name> <arguments> { "file_id": "the-file-id-from-search" } </arguments> </use_mcp_tool>
The server automatically handles different file types:
<use_mcp_tool> <server_name>gdrive</server_name> <tool_name>gdrive_search</tool_name> <arguments> { "query": "project proposal" } </arguments> </use_mcp_tool>
<use_mcp_tool> <server_name>gdrive</server_name> <tool_name>gdrive_read_file</tool_name> <arguments> { "file_id": "file-id-from-search-results" } </arguments> </use_mcp_tool>
If you encounter errors:
Remember: Always use the tools in sequence - search first to get the file ID, then read_file to access the contents.