Zum Hauptinhalt springen

MCP-Tool im Space ausführen

Ruft ein Tool eines per MCP angebundenen Servers auf (Konfig-Schlüssel wie in den Space-Einstellungen). Request-Body: JSON mit optionalem Feld „args“ für Tool-Parameter.

Path Parameters
spaceId string REQUIRED
mcpServerKey string REQUIRED
toolName string REQUIRED
Request Body REQUIRED
args
botId number
Responses
200

Successful response

Schema OPTIONAL
undefined
400

Invalid input data

Schema OPTIONAL
message string

The error message

code string

The error code

issues object[] OPTIONAL

An array of issues that were responsible for the error

message string
401

Authorization not provided

Schema OPTIONAL
message string

The error message

code string

The error code

issues object[] OPTIONAL

An array of issues that were responsible for the error

message string
403

Insufficient access

Schema OPTIONAL
message string

The error message

code string

The error code

issues object[] OPTIONAL

An array of issues that were responsible for the error

message string
500

Internal server error

Schema OPTIONAL
message string

The error message

code string

The error code

issues object[] OPTIONAL

An array of issues that were responsible for the error

message string