ValueMiner icon

ValueMiner

Run ValueMiner MCP tools in n8n workflows

Actions2

Tool → Call Tool

AI-generated

Summary

Calls a selected ValueMiner MCP tool with JSON arguments, once per input item, and returns the tool's result.

Inputs

  • toolName (required) — The ValueMiner MCP tool to call. Pick it from a searchable list (fetched live via MCP tools/list) or enter the name directly, e.g. search_companies.
  • arguments — JSON object sent as the tool's arguments. Defaults to {}. An empty string is treated as {}. A string value must parse to a JSON object; arrays and non-objects raise an error. Expressions can be used to build it from input data.

Output shape

One output item per input item, shaped as { tool: , result: }. The result is the result field of the JSON-RPC tools/call response, usually including content and possibly isError, depending on the tool.

For each item, the node opens a new MCP session (initialize, then notifications/initialized, then tools/call) against the endpoint URL in the valueMinerApi credentials. A JSON-RPC error response fails the item. Tool-level errors reported inside result are not treated as failures. With Continue On Fail enabled, failed items return { error: message }. Each output item is paired to its input item.

Examples

Example 1: Search companies using a fixed query

Tool = By Name: search_companies; Arguments = {"query": "fintech Berlin"}

Example 2: Call a tool for each incoming item with dynamic arguments

Tool = From List (pick a tool); Arguments = expression building JSON from the incoming item, e.g. {"domain": "{{$json.domain}}"}

Links

Discussion