SnozeDevelopers
API referenceIntegrations

Call a tool on a remote MCP connection

Invokes one tool on the connection's remote MCP server with the supplied arguments and returns its result. Requires the `integrations:write` workspace permission and an explicit `confirmed: true` in the body, because the call runs against the third-party system; a tool outside the connection's allowlist is refused. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.

POST
/v1/workspaces/{workspaceId}/integrations/connections/{connectionId}/mcp/tools/call
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string
connectionId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/workspaces/string/integrations/connections/string/mcp/tools/call" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "confirmed": true  }'
{  "data": {    "tool": "string",    "result": {}  }}