Search Google Drive
Files in a mailbox user's Drive, shared drives included, whose words match.
Free*
*Free up to 1,000,000 reads a month for the whole account, then $0.50 per 10,000 reads.
An example
Find the returns policy Doc in our Drive.
Your agent callsgoogle_drive_searchFree*
The example business is Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon. The reply is the one the tool really gives.
{
"mailbox": "support@halversoncycle.example",
"query": "returns policy"
}Use it when
The agent needs a document the team keeps in Drive.
What it does
Files in a mailbox user's Drive (shared drives included) whose words match: name, size, kind, when changed and its link. Free.
What comes back
mailbox; files: each with id, name, size, folder, type, modified_at and link. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
mailbox | string | One of the mailboxes the agent may act as; optional when only one is connected. Up to 254 characters. |
queryRequired | string | 1 to 200 characters. |
limit | integer | 1 to 50. Default: 20. |
The call
Over MCP, call google_drive_search on https://api.conecto.chat/mcp/googleworkspace. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/google_drive_search \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"mailbox":"support@halversoncycle.example","query":"returns policy"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
not_connected409 | Google Workspace isn't connected yet. | Connect it with google_connect. |
not_allowed403 | The mailbox is not one the agent may act as. | Use a connected mailbox; the owner adds one by connecting again. |
vendor_rejected502 | Google refused: delegation is missing a scope, or Google said no. | Ask the Workspace admin to grant what the message names. |
More Google Workspace tools
All 11 tools- Read a Google Drive file
google_drive_readA Drive file's words: Docs, Sheets, Slides, text, PDF or Office, up to 5 MB.Free* - Write a Google Drive file
google_drive_uploadWrites a text file into a Drive folder; replacing one waits for the owner.$0.001 a call - Disconnect Google Workspace
google_disconnectForgets the service account's key and the mailboxes; nothing in Google Workspace changes.Free - Connect Google Workspace
google_connectConnects the company's Google Workspace through its own service account, for the mailboxes the agent may act as.Free - Search Gmail
google_mail_searchThe newest messages in a mailbox, or those matching a Gmail search.Free* - Read a Gmail message
google_mail_readOne message in full, with its body as text and its attachments' names.Free* - Send Gmail
google_mail_sendSends an email, or a reply in the same thread, as one of the company's mailboxes.$0.001 a call - Read a Google Calendar
google_calendar_eventsThe events in a mailbox's calendar between two times, in UTC.Free*
Read next: Google Workspace MCP: five ways to connect Gmail, Drive and Calendar, Can ChatGPT and Claude send emails?, The best Claude connectors in 2026, by job, What is an MCP server?
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md