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
  • 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

Prompt example

Change margin mode to isolated for profile api with code e39e86c09f93d792d61c26dd

Input Schema​

The Input Schema Provided to LLM.

Required: api, name, exchangeFamily
{
"inputSchema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 1,
"description": "Master API profile code identifying the master 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."
},
"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."
},
"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."
},
"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."
}
},
"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.