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

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

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

Path Parameters

workspaceId*string
connectionId*string

Request Body

application/json
  1. body
name*string
arguments?|null
confirmed*true
Value intrue

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X POST 'https://api.snoze.dev/v1/workspaces/string/integrations/connections/string/mcp/tools/call' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "confirmed": true}'
Example Response
{  "data": {    "tool": "string",    "result": {}  }}