One Horizon icon

One Horizon

Run One Horizon MCP tools from n8n

Raw Tool Call

AI-generated

Summary

Invokes any available Model Context Protocol (MCP) tool on the configured One Horizon endpoint by sending a JSON-RPC 2.0 request.

Inputs

  • endpointUrl (required) — The One Horizon MCP endpoint URL. Defaults to https://mcp.onehorizon.ai/mcp.
  • rawToolName (required) — The name of the MCP tool to call. Can be selected from a searchable list of available tools or entered manually as a string.
  • rawArguments — A JSON object containing the arguments specific to the selected tool. Empty objects are allowed and filtered.

Output shape

A single record per input item containing the tool name, arguments, parsed text content, raw result, and metadata.

The output includes a 'rawResult' field with the full server response and a 'text' field with concatenated text content. Errors are exposed in the 'isError' flag and 'rawResult'.

Examples

Example 1: Querying a custom tool

Endpoint: https://mcp.onehorizon.ai/mcp, Tool: 'list-planned-work', Arguments: { teamId: 'team_123' }

Example 2: Creating a task

Endpoint: https://mcp.onehorizon.ai/mcp, Tool: 'create-todo', Arguments: { title: 'New Task', topic: 'API' }

Links

Discussion