Actions2
Execute Tool
AI-generatedSummary
Execute a specific tool on a selected MCP server using given parameters and optional authentication.
Inputs
- MCP Server (required) — Select the MCP server from the CyberCage secure catalog to target for tool execution.
- Authentication — Specify the authentication method for the MCP server: None, Bearer Token, or Header Auth; required if the server mandates authentication.
- Tool Name (required) — Choose the name of the tool on the MCP server to execute.
- Tool Parameters (required) — Provide the tool's input parameters in JSON format; must be a valid JSON object.
Output shape
A single JSON object containing the key 'result' with the tool's execution output.
If the tool execution fails, the operation throws a detailed error. Tool parameters must be a valid JSON object; invalid JSON or non-object values result in errors. Authentication credentials must be configured when required by the MCP server.
Examples
Example 1: Execute a predefined tool named "DataProcessor" on an MCP server with Bearer Token authentication, passing parameters like {"input": "value"}.
Set MCP Server to the desired server, Authentication to 'Bearer Token' with appropriate credentials, Tool Name to 'DataProcessor', and Tool Parameters to '{"input": "value"}'.