chat_list_messages
Retrieve recent messages from a Google Chat space by providing the space name and authenticated email. Supports pagination for larger histories.
Instructions
List recent messages in a Google Chat space.
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": {
"email": "<email>",
"spaceName": "<spaceName>"
},
"name": "chat_list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The authenticated Google account to use. | ||
| pageToken | No | Pagination token from a previous call's nextPageToken, to fetch the next page of results. | |
| spaceName | Yes | The space resource name (e.g. 'spaces/XXXXXX'). Get this from chat_list_spaces. | |
| maxResults | No | Maximum number of messages to return (default: 25). |