List Spaces
list_spacesList Google Chat spaces, including rooms and direct messages, or retrieve members of a specific space to manage access and participation.
Instructions
Lists Google Chat spaces (rooms and direct messages) accessible to the user, or the members of one 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": {
"user_google_email": "<user_google_email>"
},
"name": "list_spaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space_id | No | Space (spaces/X or a bare ID X) whose members to list instead of spaces, up to page_size: people, apps and groups with role and invite state. | |
| page_size | No | ||
| space_type | No | all | |
| user_google_email | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |