Skip to navigation

Execute MCP Tool

Execute a specific MCP tool with provided parameters.

Parameters

  • tool: Tool name (path parameter)

Request Body

Tool-specific parameters as JSON object. Refer to tool schema for required parameters.

Example

POST /mcp/execute/search_hotels
Content-Type: application/json
{
"query": "luxury hotels in dubai",
"limit": 10
}

Path parameters

toolstringRequired

Request

This endpoint expects an object.

Response

This endpoint returns an object.