latest_statistics
Retrieve current investment fund statistics from Turkey's FonParam API to analyze and compare fund performance data.
Instructions
Son istatistikleri getirir
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/api-client.ts:137-140 (handler)Core implementation of the tool logic: makes HTTP GET request to '/statistics/latest' endpoint and returns DailyStatistics.async getLatestStatistics(): Promise<DailyStatistics> { const response: AxiosResponse<DailyStatistics> = await this.client.get('/statistics/latest'); return response.data; }
- src/tools.ts:360-367 (registration)Registration of the 'latest_statistics' tool in getTools(), including description and empty input schema (no parameters required).{ name: 'latest_statistics', description: 'Son istatistikleri getirir', inputSchema: { type: 'object', properties: {} } },
- src/tools.ts:521-522 (handler)Tool dispatch handler in handleToolCall switch statement that delegates to the apiClient.getLatestStatistics() method.case 'latest_statistics': return await this.apiClient.getLatestStatistics();