POST
/
mcp-server
/
call-tool
curl --request POST \
  --url https://api.klavis.ai/mcp-server/call-tool \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "serverUrl": "<string>",
  "toolName": "<string>",
  "toolArgs": {},
  "connectionType": "SSE"
}'
{
  "success": true,
  "result": {
    "content": [
      "<any>"
    ],
    "isError": false
  },
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Your Klavis AI API key.

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.