latest_inflation_rate
Retrieve current inflation data for Turkey to analyze economic trends and inform investment decisions using the FonParam API.
Instructions
Son enflasyon verisini getirir
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.ts:442-449 (registration)Registers the 'latest_inflation_rate' tool in the MCP tools list with empty input schema.{ name: 'latest_inflation_rate', description: 'Son enflasyon verisini getirir', inputSchema: { type: 'object', properties: {} } },
- src/tools.ts:538-539 (handler)Handler case in handleToolCall that dispatches to the API client method.case 'latest_inflation_rate': return await this.apiClient.getLatestInflationRate();
- src/api-client.ts:177-180 (handler)Core implementation that performs the HTTP GET request to '/inflation/latest' and returns the InflationRate data.async getLatestInflationRate(): Promise<InflationRate> { const response: AxiosResponse<InflationRate> = await this.client.get('/inflation/latest'); return response.data; }
- src/types.ts:115-119 (schema)TypeScript interface defining the output schema for inflation rate data.export interface InflationRate { date: string; monthly_rate: number; yearly_rate: number; }