list_messages
Retrieve recent messages from a Google Chat space, newest first, using pagination and optional filters for targeted history review.
Instructions
List recent messages in a Google Chat space, newest first.
Args:
space: Resource name of the space, e.g. "spaces/AAAAAAAAAAA".
page_size: Max number of messages to return.
page_token: Token from a previous call to fetch the next page.
filter_expr: Optional Chat API filter, e.g.
'createTime > "2024-01-01T00:00:00Z"'.
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>"
},
"name": "list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | Yes | ||
| page_size | No | ||
| page_token | No | ||
| filter_expr | No |