read_messages
Retrieves recent conversations from a Google Chat space or DM, returning each thread's first message and recent replies with attachments and links.
Instructions
Read the latest threads of a space or DM: each thread's first message plus its
newest replies replies, with Drive files, attachments and links.
space_id and is_dm come from list_spaces; in every tool, is_dm may be left out and is then looked up. page_size is the number of threads. Use read_thread for every message of one thread.
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_id": "<space_id>"
},
"name": "read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_dm | No | ||
| replies | No | ||
| space_id | Yes | ||
| page_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |