KosmoKrator

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, configure, and verify
# 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.

KeyEnv varTypeRequiredLabel
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.

Generic CLI call
kosmo integrations:call wise.wise_list_profiles '{}' --json
Provider shortcut
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.

Discovery commands
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 read
Parameters
none
Generic call
kosmo integrations:call wise.wise_list_profiles '{}' --json
Shortcut
kosmo integrations:wise wise_list_profiles '{}' --json

wise.wise_get_profile

Get details of a specific Wise profile by ID.

Read read
Parameters
profile_id
Generic call
kosmo integrations:call wise.wise_get_profile '{"profile_id":1}' --json
Shortcut
kosmo integrations:wise wise_get_profile '{"profile_id":1}' --json

wise.wise_list_balances

List multi-currency account balances for a Wise profile.

Read read
Parameters
profile_id, types
Generic call
kosmo integrations:call wise.wise_list_balances '{"profile_id":1,"types":"example_types"}' --json
Shortcut
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 read
Parameters
limit, offset, profile_id, status
Generic call
kosmo integrations:call wise.wise_list_transfers '{"limit":1,"offset":1,"profile_id":1,"status":"example_status"}' --json
Shortcut
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 read
Parameters
transfer_id
Generic call
kosmo integrations:call wise.wise_get_transfer '{"transfer_id":1}' --json
Shortcut
kosmo integrations:wise wise_get_transfer '{"transfer_id":1}' --json

wise.wise_create_transfer

Create a new money transfer on Wise.

Write write
Parameters
source_account, target_account, quote_uuid, customer_transaction_id, reference, details
Generic call
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
Shortcut
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 read
Parameters
none
Generic call
kosmo integrations:call wise.wise_get_current_user '{}' --json
Shortcut
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
Schema command
kosmo integrations:schema wise.wise_list_profiles --json
ParameterTypeRequiredDescription
No parameters.
wise.wise_get_profile 1 parameters
Schema command
kosmo integrations:schema wise.wise_get_profile --json
ParameterTypeRequiredDescription
profile_id integer yes The Wise profile ID.
wise.wise_list_balances 2 parameters
Schema command
kosmo integrations:schema wise.wise_list_balances --json
ParameterTypeRequiredDescription
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
Schema command
kosmo integrations:schema wise.wise_list_transfers --json
ParameterTypeRequiredDescription
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
Schema command
kosmo integrations:schema wise.wise_get_transfer --json
ParameterTypeRequiredDescription
transfer_id integer yes The Wise transfer ID.
wise.wise_create_transfer 6 parameters
Schema command
kosmo integrations:schema wise.wise_create_transfer --json
ParameterTypeRequiredDescription
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
Schema command
kosmo integrations:schema wise.wise_get_current_user --json
ParameterTypeRequiredDescription
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.