List rooms
list_roomsRetrieve your organization's AskOne rooms to find their six-character codes and statuses. Use the returned codes for room-specific tools; paginate with cursor for older rooms.
Instructions
List your organization's rooms, newest first. Each has its six-character code, status (prepared, open or closed) and counts: questions (approved and answered), pending (waiting for review), answered, participants and active. Use it to find the code the room tools take; create_room needs none and returns a new room's code. To reach older rooms, call again with cursor set to the returned next_cursor until next_cursor is null. Read-only; any AskOne API token can call it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_rooms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, 1-100 (default 50) | |
| cursor | No | The next_cursor value returned by the previous page |