MCP

Model Context Protocol operations for tool discovery and execution.

List available tools

get

Retrieves a list of available tools (capabilities) for the specific AI app deployment.

Authorizations
nlx-api-keystringRequired
Path parameters
deploymentKeystringRequired

The unique key identifying the AI app deployment.

channelKeystringRequired

The unique key identifying the specific channel. Must include the language code suffix (e.g., -en-US, -es-MX).

Example: xxxxxxxx-en-US
Responses
200

A list of tools.

application/json
get
/c/mcp/{deploymentKey}/{channelKey}/tools

Execute a tool

post

Executes a specific tool by name. Supports both standard JSON responses and Server-Sent Events (SSE) streaming if requested.

Authorizations
nlx-api-keystringRequired
Path parameters
deploymentKeystringRequired

The unique key identifying the AI app deployment.

channelKeystringRequired

The unique key identifying the specific channel. Must include the language code suffix (e.g., -en-US, -es-MX).

Example: xxxxxxxx-en-US
toolNamestringRequired

The name of the tool to execute.

Body
streambooleanOptional

Set to true to receive an SSE stream of the tool's output.

Default: false
Responses
200

Tool execution result.

post
/c/mcp/{deploymentKey}/{channelKey}/tools/{toolName}

Last updated