data
Wise CLI for AI Agents
Use the Wise CLI from KosmoKrator to call Wise tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.Wise CLI Setup
Wise can be configured headlessly with `kosmokrator integrations:configure wise`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure wise --set api_key="$WISE_API_KEY" --enable --read allow --write ask --json
kosmokrator integrations:doctor wise --json
kosmokrator integrations:status --json Credentials
Authentication type: Bearer token bearer_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
api_key | WISE_API_KEY | Secret secret | yes | API Key |
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call wise.wise_list_profiles '{}' --json kosmo integrations:wise wise_list_profiles '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities 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 Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
wise.wise_list_profiles
List all Wise profiles (personal and business) for the authenticated user.
read - Parameters
- none
kosmo integrations:call wise.wise_list_profiles '{}' --json kosmo integrations:wise wise_list_profiles '{}' --json wise.wise_get_profile
Get details of a specific Wise profile by ID.
read - Parameters
- profile_id
kosmo integrations:call wise.wise_get_profile '{"profile_id":1}' --json kosmo integrations:wise wise_get_profile '{"profile_id":1}' --json wise.wise_list_balances
List multi-currency account balances for a Wise profile.
read - Parameters
- profile_id, types
kosmo integrations:call wise.wise_list_balances '{"profile_id":1,"types":"example_types"}' --json kosmo integrations:wise wise_list_balances '{"profile_id":1,"types":"example_types"}' --json wise.wise_list_transfers
List Wise transfers with optional filtering by profile, status, and pagination.
read - Parameters
- limit, offset, profile_id, status
kosmo integrations:call wise.wise_list_transfers '{"limit":1,"offset":1,"profile_id":1,"status":"example_status"}' --json kosmo integrations:wise wise_list_transfers '{"limit":1,"offset":1,"profile_id":1,"status":"example_status"}' --json wise.wise_get_transfer
Get details of a specific Wise transfer by ID.
read - Parameters
- transfer_id
kosmo integrations:call wise.wise_get_transfer '{"transfer_id":1}' --json kosmo integrations:wise wise_get_transfer '{"transfer_id":1}' --json wise.wise_create_transfer
Create a new money transfer on Wise.
write - Parameters
- source_account, target_account, quote_uuid, customer_transaction_id, reference, details
kosmo integrations:call wise.wise_create_transfer '{"source_account":1,"target_account":1,"quote_uuid":"example_quote_uuid","customer_transaction_id":"example_customer_transaction_id","reference":"example_reference","details":"example_details"}' --json kosmo integrations:wise wise_create_transfer '{"source_account":1,"target_account":1,"quote_uuid":"example_quote_uuid","customer_transaction_id":"example_customer_transaction_id","reference":"example_reference","details":"example_details"}' --json wise.wise_get_current_user
Get details of the currently authenticated Wise user.
read - Parameters
- none
kosmo integrations:call wise.wise_get_current_user '{}' --json kosmo integrations:wise wise_get_current_user '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
wise.wise_list_profiles 0 parameters
kosmo integrations:schema wise.wise_list_profiles --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
wise.wise_get_profile 1 parameters
kosmo integrations:schema wise.wise_get_profile --json | Parameter | Type | Required | Description |
|---|---|---|---|
profile_id | integer | yes | The Wise profile ID. |
wise.wise_list_balances 2 parameters
kosmo integrations:schema wise.wise_list_balances --json | Parameter | Type | Required | Description |
|---|---|---|---|
profile_id | integer | yes | The Wise profile ID to list balances for. |
types | string | no | Comma-separated balance types to return. Defaults to STANDARD,SAVINGS. |
wise.wise_list_transfers 4 parameters
kosmo integrations:schema wise.wise_list_transfers --json | Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | no | Maximum number of transfers to return. |
offset | integer | no | Number of transfers to skip for pagination. |
profile_id | integer | no | Filter transfers by profile ID. |
status | string | no | Filter by transfer status (e.g. incoming_payment_waiting, processing, funds_converted, funds_refunded, outgoing_payment_sent). |
wise.wise_get_transfer 1 parameters
kosmo integrations:schema wise.wise_get_transfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
transfer_id | integer | yes | The Wise transfer ID. |
wise.wise_create_transfer 6 parameters
kosmo integrations:schema wise.wise_create_transfer --json | Parameter | Type | Required | Description |
|---|---|---|---|
source_account | integer | no | Optional refund recipient source account ID. |
target_account | integer | yes | Target account ID (recipient account to credit). |
quote_uuid | string | yes | V2 quote UUID for this transfer. |
customer_transaction_id | string | yes | UUID used for idempotency when creating the transfer. |
reference | string | no | Payment reference or description for the transfer. |
details | object | no | Additional transfer details returned by Wise transfer-requirements. |
wise.wise_get_current_user 0 parameters
kosmo integrations:schema wise.wise_get_current_user --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.