KosmoKrator

data

Revolut CLI for AI Agents

Use the Revolut CLI from KosmoKrator to call Revolut tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

Revolut CLI Setup

Revolut can be configured headlessly with `kosmokrator integrations:configure revolut`.

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 revolut --set access_token="$REVOLUT_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor revolut --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
access_token REVOLUT_ACCESS_TOKEN Secret secret yes Access Token

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call revolut.revolut_list_accounts '{}' --json
Provider shortcut
kosmo integrations:revolut revolut_list_accounts '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs revolut --json
kosmo integrations:docs revolut.revolut_list_accounts --json
kosmo integrations:schema revolut.revolut_list_accounts --json
kosmo integrations:search "Revolut" --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.

revolut.revolut_list_accounts

List all Revolut business accounts. Returns account IDs, names, balances, and currency information.

Read read
Parameters
none
Generic call
kosmo integrations:call revolut.revolut_list_accounts '{}' --json
Shortcut
kosmo integrations:revolut revolut_list_accounts '{}' --json

revolut.revolut_get_account

Retrieve a Revolut account by ID. Returns full account details including balance, currency, and state.

Read read
Parameters
id
Generic call
kosmo integrations:call revolut.revolut_get_account '{"id":"example_id"}' --json
Shortcut
kosmo integrations:revolut revolut_get_account '{"id":"example_id"}' --json

revolut.revolut_get_account_bank_details

Retrieve full bank details for a Revolut account. Use this after list_accounts or get_account when an agent needs IBAN, BIC/SWIFT, routing, or supported transfer schemes.

Read read
Parameters
account_id
Generic call
kosmo integrations:call revolut.revolut_get_account_bank_details '{"account_id":"example_account_id"}' --json
Shortcut
kosmo integrations:revolut revolut_get_account_bank_details '{"account_id":"example_account_id"}' --json

revolut.revolut_list_transactions

List Revolut transactions with optional filters. Supports filtering by account, date range, type, and pagination with count.

Read read
Parameters
account_id, from, to, count, type
Generic call
kosmo integrations:call revolut.revolut_list_transactions '{"account_id":"example_account_id","from":"example_from","to":"example_to","count":1,"type":"example_type"}' --json
Shortcut
kosmo integrations:revolut revolut_list_transactions '{"account_id":"example_account_id","from":"example_from","to":"example_to","count":1,"type":"example_type"}' --json

revolut.revolut_get_transaction

Retrieve a Revolut transaction by ID. Returns full transaction details including amount, currency, legs, and state.

Read read
Parameters
id, id_type
Generic call
kosmo integrations:call revolut.revolut_get_transaction '{"id":"example_id","id_type":"example_id_type"}' --json
Shortcut
kosmo integrations:revolut revolut_get_transaction '{"id":"example_id","id_type":"example_id_type"}' --json

revolut.revolut_list_cards

List all Revolut business cards. Returns card IDs, last 4 digits, status, and cardholder information.

Read read
Parameters
limit, created_before
Generic call
kosmo integrations:call revolut.revolut_list_cards '{"limit":1,"created_before":"example_created_before"}' --json
Shortcut
kosmo integrations:revolut revolut_list_cards '{"limit":1,"created_before":"example_created_before"}' --json

revolut.revolut_get_card

Retrieve a Revolut card by ID. Returns full card details including status, limits, and cardholder information.

Read read
Parameters
id
Generic call
kosmo integrations:call revolut.revolut_get_card '{"id":"example_id"}' --json
Shortcut
kosmo integrations:revolut revolut_get_card '{"id":"example_id"}' --json

revolut.revolut_get_sensitive_card_details

Retrieve sensitive card details for a Revolut Business card. This requires Revolut's READ_SENSITIVE_CARD_DATA scope and IP whitelisting; prefer get_card unless PAN/CVV details are explicitly needed.

Read read
Parameters
card_id
Generic call
kosmo integrations:call revolut.revolut_get_sensitive_card_details '{"card_id":"example_card_id"}' --json
Shortcut
kosmo integrations:revolut revolut_get_sensitive_card_details '{"card_id":"example_card_id"}' --json

revolut.revolut_list_team_members

List Revolut Business team members. Use limit and created_before for pagination; Revolut returns members in reverse creation order.

Read read
Parameters
limit, created_before
Generic call
kosmo integrations:call revolut.revolut_list_team_members '{"limit":1,"created_before":"example_created_before"}' --json
Shortcut
kosmo integrations:revolut revolut_list_team_members '{"limit":1,"created_before":"example_created_before"}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

revolut.revolut_list_accounts 0 parameters
Schema command
kosmo integrations:schema revolut.revolut_list_accounts --json
ParameterTypeRequiredDescription
No parameters.
revolut.revolut_get_account 1 parameters
Schema command
kosmo integrations:schema revolut.revolut_get_account --json
ParameterTypeRequiredDescription
id string yes Revolut account ID.
revolut.revolut_get_account_bank_details 1 parameters
Schema command
kosmo integrations:schema revolut.revolut_get_account_bank_details --json
ParameterTypeRequiredDescription
account_id string yes Revolut account UUID.
revolut.revolut_list_transactions 5 parameters
Schema command
kosmo integrations:schema revolut.revolut_list_transactions --json
ParameterTypeRequiredDescription
account_id string no Filter transactions by account ID. Sent to Revolut as account.
from string no Start date for transactions (ISO 8601, e.g., "2026-01-01T00:00:00Z").
to string no End date for transactions (ISO 8601, e.g., "2026-04-07T23:59:59Z").
count integer no Number of transactions to return (max 1000).
type string no Filter by transaction type (e.g., "card_payment", "transfer", "exchange").
revolut.revolut_get_transaction 2 parameters
Schema command
kosmo integrations:schema revolut.revolut_get_transaction --json
ParameterTypeRequiredDescription
id string yes Revolut transaction ID.
id_type string no Set to request_id when id is the request ID supplied at payment creation.
revolut.revolut_list_cards 2 parameters
Schema command
kosmo integrations:schema revolut.revolut_list_cards --json
ParameterTypeRequiredDescription
limit integer no Maximum number of cards to return per page. Revolut allows 1-100.
created_before string no Return cards created before this ISO 8601 date/time for pagination.
revolut.revolut_get_card 1 parameters
Schema command
kosmo integrations:schema revolut.revolut_get_card --json
ParameterTypeRequiredDescription
id string yes Revolut card ID.
revolut.revolut_get_sensitive_card_details 1 parameters
Schema command
kosmo integrations:schema revolut.revolut_get_sensitive_card_details --json
ParameterTypeRequiredDescription
card_id string yes Revolut card UUID.
revolut.revolut_list_team_members 2 parameters
Schema command
kosmo integrations:schema revolut.revolut_list_team_members --json
ParameterTypeRequiredDescription
limit integer no Maximum number of team members to return per page. Revolut allows 1-1000.
created_before string no Return team members created before this ISO 8601 date/time for pagination.

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.