Skip to main content
POST
/
mcp-playground
/
call-tool
curl --request POST \
  --url https://mcp.enkryptai.com/mcp-playground/call-tool \
  --header 'Content-Type: application/json' \
  --header 'X-Enkrypt-MCP-Registry-Server: <x-enkrypt-mcp-registry-server>' \
  --header 'apikey: <api-key>' \
  --data '
{
  "tool_name": "read_file",
  "tool_arguments": {
    "path": "/tmp/test.txt"
  }
}
'
{
  "success": true,
  "error": "<string>",
  "details": "<string>",
  "data": {
    "saved_name": "<string>",
    "server_version": "<string>",
    "server_name": "<string>",
    "description": "<string>",
    "tool_name": "<string>",
    "tool_arguments": {},
    "result": {
      "content": [
        {
          "type": "<string>",
          "text": "<string>",
          "data": "<string>",
          "mimeType": "<string>"
        }
      ],
      "isError": true
    },
    "executed_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.enkryptai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

apikey
string
header
required

Headers

X-Enkrypt-MCP-Registry-Server
string
required

Registry server saved_name

Maximum string length: 32
Example:

"my-filesystem-server"

X-Enkrypt-MCP-Registry-Server-Version
string
default:v1

Registry server version (defaults to "v1")

Example:

"v1"

Body

application/json
tool_name
string
required

Name of the tool to call

Example:

"read_file"

tool_arguments
object

Arguments to pass to the tool (max 100KB, max depth 10 levels)

Response

Tool executed successfully

success
boolean

Whether the tool call was successful

error
string | null

Error message if failed

details
string | null

Additional error details

data
object