List spaces
list_spacesDiscover Google Chat spaces you belong to, filter by type, and paginate results to get space IDs for subsequent actions.
Instructions
Lists the spaces the authenticated user is a member of: name (spaces/), displayName (empty for direct messages), spaceType (SPACE = named room, GROUP_CHAT, DIRECT_MESSAGE), spaceThreadingState and timestamps. This is the discovery entry point — space names from here feed every other tool. space_type narrows the listing server-side; there is no text search here — match displayName client-side, or use search_spaces (Workspace admin only). Paginate with page_token from nextPageToken; results are unordered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_size | No | Max spaces per page (1..1000; default 100). | |
| page_token | No | nextPageToken from the previous page. | |
| space_type | No | Only spaces of this type: space (named room), group_chat, or direct_message. |