KosmoKrator

finance

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.

7 functions 6 read 1 write API key auth

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: API key api_key. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
api_key WISE_API_KEY Secret secret yes API Key
url WISE_URL URL url no Wise API URL

Call Wise Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call wise.wise_list_profiles '{}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:wise wise_list_profiles '{}' --json

Agent Discovery Commands

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

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to Wise.

wise.wise_list_profiles

Read read

List all Wise profiles (personal and business) for the authenticated user.

Parameters
none

Generic CLI call

kosmo integrations:call wise.wise_list_profiles '{}' --json

Provider shortcut

kosmo integrations:wise wise_list_profiles '{}' --json

wise.wise_get_profile

Read read

Get details of a specific Wise profile by ID.

Parameters
profile_id

Generic CLI call

kosmo integrations:call wise.wise_get_profile '{"profile_id":1}' --json

Provider shortcut

kosmo integrations:wise wise_get_profile '{"profile_id":1}' --json

wise.wise_list_balances

Read read

List multi-currency account balances for a Wise profile.

Parameters
profile_id

Generic CLI call

kosmo integrations:call wise.wise_list_balances '{"profile_id":1}' --json

Provider shortcut

kosmo integrations:wise wise_list_balances '{"profile_id":1}' --json

wise.wise_list_transfers

Read read

List Wise transfers with optional filtering by profile, status, and pagination.

Parameters
limit, offset, profile_id, status

Generic CLI call

kosmo integrations:call wise.wise_list_transfers '{"limit":1,"offset":1,"profile_id":1,"status":"example_status"}' --json

Provider shortcut

kosmo integrations:wise wise_list_transfers '{"limit":1,"offset":1,"profile_id":1,"status":"example_status"}' --json

wise.wise_get_transfer

Read read

Get details of a specific Wise transfer by ID.

Parameters
transfer_id

Generic CLI call

kosmo integrations:call wise.wise_get_transfer '{"transfer_id":1}' --json

Provider shortcut

kosmo integrations:wise wise_get_transfer '{"transfer_id":1}' --json

wise.wise_create_transfer

Write write

Create a new money transfer on Wise.

Parameters
source_account, target_account, amount, reference

Generic CLI call

kosmo integrations:call wise.wise_create_transfer '{"source_account":1,"target_account":1,"amount":1,"reference":"example_reference"}' --json

Provider shortcut

kosmo integrations:wise wise_create_transfer '{"source_account":1,"target_account":1,"amount":1,"reference":"example_reference"}' --json

wise.wise_get_current_user

Read read

Get details of the currently authenticated Wise user.

Parameters
none

Generic CLI call

kosmo integrations:call wise.wise_get_current_user '{}' --json

Provider 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

List all Wise profiles (personal and business) for the authenticated user.

Operation
Read read
Schema command
kosmo integrations:schema wise.wise_list_profiles --json
ParameterTypeRequiredDescription
No parameters.

wise.wise_get_profile

Get details of a specific Wise profile by ID.

Operation
Read read
Schema command
kosmo integrations:schema wise.wise_get_profile --json
ParameterTypeRequiredDescription
profile_id integer yes The Wise profile ID.

wise.wise_list_balances

List multi-currency account balances for a Wise profile.

Operation
Read read
Schema command
kosmo integrations:schema wise.wise_list_balances --json
ParameterTypeRequiredDescription
profile_id integer yes The Wise profile ID to list balances for.

wise.wise_list_transfers

List Wise transfers with optional filtering by profile, status, and pagination.

Operation
Read read
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

Get details of a specific Wise transfer by ID.

Operation
Read read
Schema command
kosmo integrations:schema wise.wise_get_transfer --json
ParameterTypeRequiredDescription
transfer_id integer yes The Wise transfer ID.

wise.wise_create_transfer

Create a new money transfer on Wise.

Operation
Write write
Schema command
kosmo integrations:schema wise.wise_create_transfer --json
ParameterTypeRequiredDescription
source_account integer yes Source account ID (borderless account balance to debit from).
target_account integer yes Target account ID (recipient account to credit).
amount number yes Amount to transfer in the source currency.
reference string no Payment reference or description for the transfer.

wise.wise_get_current_user

Get details of the currently authenticated Wise user.

Operation
Read read
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.