Whatever message this page gives is out now! Go check it out!
callTool function invokes a single MCP tool by name on the connected MCP server, passing structured arguments and returning the tool's response. It is the primary way for your ColdFusion application to execute MCP tools.callTool(string toolName, struct method)| Field | Data type | Required | Description |
|---|---|---|---|
toolName | String | Yes | The name of the tool to invoke. This must match one of the tool names returned by listTools() for that MCP server. |
method | Struct | Yes | A struct containing the method name along with the parameters to be called. |