search_messages
Find specific Google Chat messages by searching text content and filtering by date range within spaces.
Instructions
Searches for messages in Google Chat spaces by text content and/or time range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| query | No | Optional text to search for. If omitted, only time_filter is applied. | |
| space_id | No | Optional space to restrict the search to. | |
| page_size | No | Maximum number of messages to return per space. | |
| time_filter | No | Optional filter using Chat API createTime syntax. Examples: 'createTime > "2026-03-18T00:00:00-03:00"' 'createTime > "2026-03-18T00:00:00-03:00" AND createTime < "2026-03-19T00:00:00-03:00"' | |
| max_spaces | No | Maximum number of spaces to search when space_id is not provided (default 10). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |