data
ExchangeRate CLI for Headless Automation
Use the ExchangeRate CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
5 functions 5 read 0 write No credentials auth
ExchangeRate CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. The ExchangeRate CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# ExchangeRate CLI for Headless Automation
kosmokrator integrations:configure exchangerate --enable --read allow --write ask --json
kosmo integrations:call exchangerate.exchangerate_list_currencies '{"query":"example_query"}' --json Discovery Before Execution
Agents and scripts can inspect ExchangeRate docs and schemas before choosing a function.
kosmo integrations:docs exchangerate --json
kosmo integrations:docs exchangerate.exchangerate_list_currencies --json
kosmo integrations:schema exchangerate.exchangerate_list_currencies --json
kosmo integrations:search "ExchangeRate" --json
kosmo integrations:list --json Useful ExchangeRate CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
exchangerate.exchangerate_list_currencies | Read | query | List all available currencies (fiat, crypto, precious metals, stablecoins). Supports 340+ assets. Optionally filter by name or code. |
exchangerate.exchangerate_popular_currencies | Read | none | Show the most commonly used currency codes (no API call needed). Use these codes directly with exchangerate_convert_currency. Popular codes: {$popular} |
exchangerate.exchangerate_convert_currency | Read | from, to, amount, date | Convert an amount from one currency to another. Supports 340 fiat currencies, cryptocurrencies, and precious metals. Common codes: usd, eur, gbp, jpy, cny, chf, cad, aud, btc, eth, sol, xau, xag. |
exchangerate.exchangerate_rates | Read | base, date, currencies | Get all exchange rates for a base currency. Optionally filter to specific target currencies. Supports 340 fiat currencies, cryptocurrencies, and precious metals. |
exchangerate.exchangerate_history | Read | from, to, dates | Compare a currency pair across multiple dates to see rate changes over time. Returns each date's rate and the overall change. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.