Skip to main content

Edit API profile (MCP Tool)


Description

Edit API profile for WunderTrading.

Use to ask about:

  • edit an API profile
  • update a connected exchange account
  • change API credentials
  • rename an API profile
  • enable or disable an API profile
  • change margin mode
  • change trade mode
  • mark an API profile as favorite
  • update exchange account settings
Prompt example

Change name to "My-Super-Binance-API" for Binance api profile with code e39e86c09f93d792d61c26dd, api my_api_key_34234efsedfwefwada2

Prompt example

Disable my Binance api profile with code e39e86c09f93d792d61c26dd and name "My-Binance-Profile", api my_api_key_34234efsedfwefwada2

Input Schema

The Input Schema Provided to LLM.

Required: api, name, exchangeFamily
{
"inputSchema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 1,
"description": "API profile code identifying the profile to edit."
},
"api": {
"type": [
"string",
"null"
],
"minLength": 2,
"maxLength": 896,
"description": "Optional exchange API key."
},
"secret": {
"type": [
"string",
"null"
],
"minLength": 2,
"maxLength": 2048,
"description": "Optional exchange API secret key."
},
"enabled": {
"type": "boolean",
"description": "Enable or disable the API profile."
},
"name": {
"type": [
"string",
"null"
],
"minLength": 2,
"maxLength": 255,
"pattern": "^[a-zA-Z0-9_.-]+$",
"description": "Optional API profile name. Allowed characters: letters, numbers, underscore, dot and hyphen."
},
"subaccount": {
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 128,
"description": "Optional exchange subaccount identifier."
},
"subaccountKey": {
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 1024,
"description": "Optional subaccount secret key."
},
"exchangeFamily": {
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 255,
"description": "Optional exchange family code supported by the platform, e.g. BINANCE, BYBIT, OKEX."
},
"marginMode": {
"type": "string",
"enum": [
"cross",
"isolated"
],
"description": "Margin mode."
},
"favorite": {
"type": "boolean",
"description": "Whether to mark this API profile as favorite."
},
"tradeMode": {
"type": "string",
"enum": [
"auto",
"one_way_mode",
"hedge_mode"
],
"description": "Exchange trading position mode."
},
"password": {
"type": [
"string",
"null"
],
"minLength": 2,
"maxLength": 2048,
"description": "Optional API profile password/passphrase used for extra authentication."
},
"applicationId": {
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 2048,
"description": "Optional application ID used for extra authentication."
},
"hypVault": {
"type": "boolean",
"description": "Set to true only when the supplied API key is a Hyperliquid vault key."
}
},
"required": [
"code"
],
"additionalProperties": false
}
}


We are continuously improving the platform, and new endpoints and features will be added soon to make your automated trading more flexible and efficient.