get_currencies
Retrieve currency codes, symbols, and units to ensure accurate salary updates in job applications and compensation tracking.
Instructions
Get the list of supported currencies with their codes, symbols, and units. Use this to look up the correct currency code before updating salary.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/profile.ts:6-14 (registration)Registration of the get_currencies tool.
server.tool( 'get_currencies', 'Get the list of supported currencies with their codes, symbols, and units. Use this to look up the correct currency code before updating salary.', {}, async () => { const currencies = await client.getCurrencies(); return { content: [{ type: 'text' as const, text: JSON.stringify(currencies, null, 2) }] }; } ); - src/api-client.ts:609-611 (handler)The underlying implementation that fetches currency data from the API.
async getCurrencies(): Promise<Currency[]> { return this.get<Currency[]>('/currencies'); }