iagctl mcp tool call
Gateway 5.5+
Call a tool on an MCP server.
The iagctl mcp tool call command executes a specific tool exposed by a registered MCP server and returns the result. Use iagctl mcp tool list to see the tools available on a server and their expected input parameters.
For more information, see Register and manage MCP servers.
Syntax
Examples
Call a tool without parameters
Call a tool with parameters
Parameters are provided as a JSON string using the --params flag. The expected structure depends on the tool — use iagctl mcp tool list --raw to view each tool’s input schema.