chat_getMessages
Get messages from a Google Chat space, with options to filter by thread, sort by creation time, and paginate via page tokens.
Instructions
Gets messages from 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": {
"spaceName": "<spaceName>"
},
"name": "chat_getMessages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderBy | No | Sort order (e.g., "createTime desc"). | |
| pageSize | No | Max messages to return. | |
| pageToken | No | Next page token. | |
| spaceName | Yes | Space resource name. | |
| threadName | No | Filter by thread name. |