Tool Details: toolCall

Basic Information

Tool Name:toolCall
Asset Name:MCP Tool Call
Description:Runs a remote MCP tool via HTTP(s)
Adapter:mcp
Asset Hash:0x18925bd27f9e97655543d9ebae8a2924382a8504909422bcca30525b7c37b8e4
Input
PropertyTypeDescription
argumentsobjectArguments to the MCP tool call
toolNamestringMCP tool name to call
server*stringURL or DID for the MCP server
tokenstringAPI access token to use for the delegated MCP request
Output

Type: object

Schema: <code>{ &quot;type&quot;: &quot;object&quot;, &quot;description&quot;: &quot;The MCP tool output. Typically the content array or a structuredContent Object&quot; }</code>

MCP Tool Usage Examples

This tool can be called via the MCP (Model Context Protocol) endpoint. Here are examples of how to use it:

JSON-RPC Call Example:

POST to https://venue-test.covia.ai/mcp

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "toolCall",
    "arguments": {
      "input": "your input here"
    }
  }
}
cURL Example:
curl -X POST https://venue-test.covia.ai/mcp \\
  -H "Content-Type: application/json" \\
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "toolCall",
      "arguments": {
        "input": "your input here"
      }
    }
  }'
Python Example:
import requests
import json

url = "https://venue-test.covia.ai/mcp"
payload = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "toolCall",
        "arguments": {
            "input": "your input here"
        }
    }
}

response = requests.post(url, json=payload)
result = response.json()
print(result)
JavaScript/Node.js Example:
const fetch = require('node-fetch');

const url = 'https://venue-test.covia.ai/mcp';
const payload = {
    jsonrpc: '2.0',
    id: 1,
    method: 'tools/call',
    params: {
        name: 'toolCall',
        arguments: {
            input: 'your input here'
        }
    }
};

fetch(url, {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json'
    },
    body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data));

Asset Metadata

{
	"name": "MCP Tool Call",
	"description": "Runs a remote MCP tool via HTTP(s)",
	"dateCreated": "2025-09-03T23:00:00Z",
	"operation": {
		"adapter": "mcp:tools:call",
		"info":{
		    "featured":true
		},

		
		"toolName": "toolCall",
		"input": {
			"type": "object",
			"properties": {
				"server": {
					"type": "string",
					"description": "URL or DID for the MCP server",
					"examples":["https:venue-test.covia.ai","did:web:venue1.covia.ai"]
				},
				"toolName": {
					"type": "string",
					"description": "MCP tool name to call",
					"examples":["toolCall"]
				},
				"token": {
					"type": "string",
					"description": "API access token to use for the delegated MCP request",
					"examples":["xyzabcdefghj"]
				},
				"arguments": {
					"type": "object",
					"description": "Arguments to the MCP tool call"
				}
			},
			"required": ["server"]
		},
		"output": {
			"type": "object",
			"description": "The MCP tool output. Typically the content array or a structuredContent Object"
		}
	}
} 

Navigation

Back to adapter details

Back to all adapters

Back to index