search_messages
Search a Google Chat space's message history for a text substring to find and retrieve matching messages.
Instructions
Search for messages in a space containing a text substring.
Args:
space: Resource name of the space, e.g. "spaces/AAAAAAAAAAA".
query: Case-insensitive substring to search for in message text.
page_size: Number of messages to fetch per page while scanning.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"space": "<space>",
"query": "<query>"
},
"name": "search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| space | Yes | ||
| page_size | No |