listSharedWithMe
Lists files and folders others shared with you in Google Drive, excluding your own items. Filter by name or type and sort results to find shared content.
Instructions
Lists files and folders that have been shared with the user ("Shared with me"). Returns items shared by others that are not in the user's own Drive. Use folder IDs with listFolderContents to navigate into shared folders.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "listSharedWithMe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query to filter shared items by name (uses "contains" matching). | |
| orderBy | No | How to sort results. Defaults to most recently shared first. | sharedWithMeTime |
| mimeType | No | Filter by MIME type. Use "application/vnd.google-apps.folder" for folders only, "application/vnd.google-apps.document" for Docs, "application/vnd.google-apps.spreadsheet" for Sheets, etc. | |
| pageToken | No | Token for fetching the next page of results. | |
| maxResults | No | Maximum number of items to return. |