finance
Wise CLI for Shell Scripts
Use the Wise CLI for shell scripts with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 6 read 1 write API key auth
Wise CLI for Shell Scripts
Call integration functions from shell scripts with stable JSON input and output.
Use shell scripts for small local automations that need one or more integration calls. The Wise CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Wise CLI for Shell Scripts
kosmokrator integrations:configure wise --set api_key="$WISE_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call wise.wise_list_profiles '{}' --json Discovery Before Execution
Agents and scripts can inspect Wise docs and schemas before choosing a function.
kosmo integrations:docs wise --json
kosmo integrations:docs wise.wise_list_profiles --json
kosmo integrations:schema wise.wise_list_profiles --json
kosmo integrations:search "Wise" --json
kosmo integrations:list --json Useful Wise CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
wise.wise_list_profiles | Read | none | List all Wise profiles (personal and business) for the authenticated user. |
wise.wise_get_profile | Read | profile_id | Get details of a specific Wise profile by ID. |
wise.wise_list_balances | Read | profile_id | List multi-currency account balances for a Wise profile. |
wise.wise_list_transfers | Read | limit, offset, profile_id, status | List Wise transfers with optional filtering by profile, status, and pagination. |
wise.wise_get_transfer | Read | transfer_id | Get details of a specific Wise transfer by ID. |
wise.wise_create_transfer | Write | source_account, target_account, amount, reference | Create a new money transfer on Wise. |
wise.wise_get_current_user | Read | none | Get details of the currently authenticated Wise user. |
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.