list_shared_with_me
Lists files explicitly shared with the authenticated user, including shared drive items, with optional MIME type filtering and a configurable result limit.
Instructions
List files explicitly shared with the authenticated user, including shared drive files shared with them directly.
Args: mime_type: Optional MIME type filter, e.g. 'application/vnd.google-apps.spreadsheet'. max_results: Maximum number of files to return (default 50, max 200).
Returns: List of shared files with id, name, mime_type, modified_time, owners, and web_link, ordered by modification time descending. Note: With service account auth, returns files shared with the service account email, not files shared with a personal user.
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": "list_shared_with_me"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mime_type | No | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |