getConfiguration
Retrieve enterprise and client configuration settings from the Mews hospitality platform to manage system parameters and operational preferences.
Instructions
Returns configuration of the enterprise and the client
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The tool execution handler for getConfiguration, which sends a GET request to the Mews configuration endpoint using mewsRequest utility and returns the JSON-formatted result as text content.
async execute(config: MewsAuthConfig, args: unknown): Promise<ToolResult> { const result = await mewsRequest(config, '/api/connector/v1/configuration/get', {}); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; } - Input schema for the getConfiguration tool: defines an empty object type with no properties, meaning the tool takes no input parameters.
inputSchema: { type: 'object', properties: {}, additionalProperties: false }, - src/tools/index.ts:27-27 (registration)Import of the getConfigurationTool from its implementation file into the central tools index module.
import { getConfigurationTool } from './configuration/getConfiguration.js'; - src/tools/index.ts:112-112 (registration)Registration of getConfigurationTool by inclusion in the allTools array, which is used to create a toolMap for fast lookup and to generate tool definitions for MCP server registration.
getConfigurationTool,