List Spaces
list_spacesRetrieve Google Chat spaces accessible to a user, or list members of a specific space with roles and invite states. Use it to find rooms and direct messages or inspect space membership.
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 |