Skip to main content
POST
Call a tool
Calls an enabled tool synchronously and returns its output directly. See Tools for an end-to-end example.
Requires a Nango Environment API key with environment:tools:call. Learn more about API key scopes.

Authorizations

Authorization
string
header
required

An Environment API key from your Nango environment, or an Account API key for account-level endpoints.

Headers

Provider-Config-Key
string

Integration ID. Required when multiple integrations share the connection ID.

Path Parameters

connectionId
string
required

The connection ID to execute the tool for.

name
string
required

The tool name on the integration.

Body

application/json
input
any

Input matching the tool's schema. Omit for tools that take no input.

Response

The tool's JSON output, returned directly without a data wrapper.