drive__search_files
Access
Requires a project integration connection for drive.
Call type: Can read or manage credentials.
Arguments
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "drive__search_files",
"arguments": {
"q": "example"
}
}
}Result
No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the drive integration reference for provider setup and tool context.
Full schemas
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Drive v3 query, e.g. name = 'Report'. Use single quotes for string and date values."
},
"pageSize": {
"type": "number",
"description": "Maximum number of files to return"
},
"pageToken": {
"type": "string",
"description": "Pagination token"
},
"fields": {
"type": "string",
"description": "Drive File fields; omit to use defaults. Example: id,name,mimeType,modifiedTime,webViewLink."
}
},
"required": [
"q"
],
"description": "Arguments for the drive__search_files tool."
}