list_space_files
List all file attachments, Drive links, and shared URLs in a Google Chat space or direct message by scanning recent messages.
Instructions
List all files, Drive attachments, and shared URLs in a space or DM
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": {
"group_id": "<group_id>"
},
"name": "list_space_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | Space/DM group ID (from list_spaces) | |
| is_dm | No | True if DM, False if room/space | |
| page_size | No | Messages to scan (default 50) |