ethora-app-get-default-rooms
Retrieve default rooms for the Ethora application using the Ethora MCP Server. Simplifies integration by providing essential room data for application setup and management.
Instructions
Get the default rooms for Ethora application
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.ts:185-206 (registration)Registration of the 'ethora-app-get-default-rooms' MCP tool, including schema (no input params) and inline handler that calls the API helper and returns JSON response.function appGetDefaultRoomsTool(server: McpServer) { server.registerTool( 'ethora-app-get-default-rooms', { description: 'Get the default rooms for Ethora application', }, async function () { try { let result = await appGetDefaultRooms() let toolRes: CallToolResult = { content: [{ type: "text", text: JSON.stringify(result.data) }] } return toolRes } catch (error) { let toolRes: CallToolResult = { content: [{ type: "text", text: "error: network error" }] } return toolRes } } ) }
- src/apiClientDappros.ts:145-149 (helper)API client helper function that makes the GET request to retrieve the default rooms for Ethora application.export function appGetDefaultRooms() { return httpClientDappros.get( `/apps/get-default-rooms` ) }