Tool Details: gridRun

Basic Information

Tool Name:gridRun
Asset Name:Grid Run
Description:Run a Covia grid operation on this venue or an optional remote venue
Adapter:grid
Asset Hash:0x95cdf93b554e64743c630b9044b2004b6482b5661cc1932bdb3b0bb33a3ad716
Input
PropertyTypeDescription
inputanyArguments to pass to the operation
operation*stringOperation alias or asset ID to invoke
venuestringOptional remote venue URL or DID to connect to
Output

Type: any

Schema: <code>{ &quot;type&quot;: &quot;any&quot;, &quot;description&quot;: &quot;Result of the executed grid operation&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://mcp-1st-birthday-agentic-economics.hf.space/mcp

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "gridRun",
    "arguments": {
      "input": "your input here"
    }
  }
}
cURL Example:
curl -X POST https://mcp-1st-birthday-agentic-economics.hf.space/mcp \\
  -H "Content-Type: application/json" \\
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "gridRun",
      "arguments": {
        "input": "your input here"
      }
    }
  }'
Python Example:
import requests
import json

url = "https://mcp-1st-birthday-agentic-economics.hf.space/mcp"
payload = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "gridRun",
        "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://mcp-1st-birthday-agentic-economics.hf.space/mcp';
const payload = {
    jsonrpc: '2.0',
    id: 1,
    method: 'tools/call',
    params: {
        name: 'gridRun',
        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": "Grid Run",
	"description": "Run a Covia grid operation on this venue or an optional remote venue",
	"operation": {
		"adapter": "grid:run",
		"toolName": "gridRun",
		"input": {
			"type": "object",
			"properties": {
				"operation": {
					"type": "string",
					"description": "Operation alias or asset ID to invoke"
				},
				"input": {
					"type": "any",
					"description": "Arguments to pass to the operation"
				},
				"venue": {
					"type": "string",
					"description": "Optional remote venue URL or DID to connect to"
				}
			},
			"required": ["operation"]
		},
		"output": {
			"type": "any",
			"description": "Result of the executed grid operation"
		}
	}
}

Navigation

Back to adapter details

Back to all adapters

Back to index