Authentication

Manually run a tool from an External MCP Connection

Changed on

Workspace owner/admin diagnostic runner. Executes one named MCP tool with caller-supplied JSON arguments using the Den-managed shared credential or the calling admin's connected credential. Returns an ephemeral inspection of the actual tools/call HTTP request and response with credential and session headers redacted. The caller must already be granted access to the connection. Credentials, arguments, results, and inspection payloads are never written to logs.

post/v1/mcp-connections/{connectionId}/tools/call

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

connectionId, string typeid required

Den TypeID with 'emc_' prefix and a 26-character base32 suffix.

Request body

ExternalMcpConnectionToolRunInput required
toolName, string required
arguments, object required

Response

The MCP tool completed.

ExternalMcpConnectionToolRunResponse required
referenceId, string required
durationMs, number required
result, unknown required
inspection, ExternalMcpConnectionToolInspection required

Changes