Search Workspace
search_workspaceSearch across Google Drive, contacts, and Gmail with one query. Filter by service and specify max results per service.
Instructions
Search Drive files, contacts, and Gmail IDs through one normalized entry point.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search or filter expression used to narrow the results. | |
| services | No | Subset of services to search: any of 'drive', 'people', 'gmail'; omit to search all three. | |
| max_results_per_service | No | Maximum results per service to include in the result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of items in this response. | |
| query | No | Response field: query. | |
| errors | No | Response field: errors. | |
| status | No | Machine-readable operation status. | |
| matches | No | Response field: matches. | |
| has_more | No | Whether another page is available. | |
| resource | No | Stable cross-tool Workspace resource handle when applicable. | |
| services | No | Response field: services. | |
| fetched_at | No | RFC3339 time when this response was fetched. | |
| next_page_token | No | Opaque token for the next page, or null. |