Tool Details: grid_run

Basic Information

Tool Name:grid_run
Asset Name:Grid Run
Description:grid_run: Start a new operation on this venue or the selected execution venue and wait for its output. Use asynchronous submission when you need a Job handle immediately. To inspect or await work already submitted, use the advertised Job tools. Each invocation starts new work. Requires local invoke permission on the selected operation reference. Local execution also checks your resource permissions; remote execution is authorized by the destination using the explicitly selected identity and grants. Local scope does not narrow a supplied remote credential.
Adapter:grid
Asset Hash:0x218def439809af24a2488b668b07caaecec7961eb088f9a36bbd4494e903f00d
Input
PropertyTypeDescription
authenticateAsstringRemote identity: anonymous (default) sends no identity or grants; caller requires your identity credential addressed to the target venue, with no capabilities, plus any separate grants; venue is only for the venue itself. Use the same mode and credentials when following the Job. Local calls retain your caller context.
inputanyArguments matching the target operation's input schema; any JSON value. Inspect unfamiliar operations' metadata before invoking them. Passed unchanged, including strings that look like JSON.
venuestringExecution venue HTTP(S) URL or routable DID. Omit to use this operation's default venue, normally the current venue. This input overrides any definition-level venue. Null is invalid. Retain the selected venue when following the returned Job.
operation*stringExact operation reference from catalog metadata, configuration or the task: v/ops/<group>/<op>, o/<pin>, a/<hash>, a hex asset hash, or a DID URL. Resolve it on the execution venue. A DID URL selects where to fetch a definition, not where to execute it. Never derive a catalog path from a tool name.
Output

Type: object

Schema: <code>{ &quot;description&quot;: &quot;The operation&#x27;s output (shape determined by the operation&#x27;s output schema)&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-2.covia.ai/mcp

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

url = "https://venue-2.covia.ai/mcp"
payload = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "grid_run",
        "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-2.covia.ai/mcp';
const payload = {
    jsonrpc: '2.0',
    id: 1,
    method: 'tools/call',
    params: {
        name: 'grid_run',
        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": "grid_run: Start a new operation on this venue or the selected execution venue and wait for its output. Use asynchronous submission when you need a Job handle immediately. To inspect or await work already submitted, use the advertised Job tools. Each invocation starts new work. Requires local invoke permission on the selected operation reference. Local execution also checks your resource permissions; remote execution is authorized by the destination using the explicitly selected identity and grants. Local scope does not narrow a supplied remote credential.",
	"operation": {
		"adapter": "grid:run",
		"readOnly": false,
		"input": {
			"type": "object",
			"properties": {
				"operation": {
					"type": "string",
					"description": "Exact operation reference from catalog metadata, configuration or the task: v/ops/<group>/<op>, o/<pin>, a/<hash>, a hex asset hash, or a DID URL. Resolve it on the execution venue. A DID URL selects where to fetch a definition, not where to execute it. Never derive a catalog path from a tool name."
				},
				"input": {
					"description": "Arguments matching the target operation's input schema; any JSON value. Inspect unfamiliar operations' metadata before invoking them. Passed unchanged, including strings that look like JSON."
				},
				"venue": {
					"type": "string",
					"description": "Execution venue HTTP(S) URL or routable DID. Omit to use this operation's default venue, normally the current venue. This input overrides any definition-level venue. Null is invalid. Retain the selected venue when following the returned Job."
				},
				"authenticateAs": {
					"type": "string",
					"enum": [
						"anonymous",
						"caller",
						"venue"
					],
					"default": "anonymous",
					"description": "Remote identity: anonymous (default) sends no identity or grants; caller requires your identity credential addressed to the target venue, with no capabilities, plus any separate grants; venue is only for the venue itself. Use the same mode and credentials when following the Job. Local calls retain your caller context."
				}
			},
			"required": [
				"operation"
			]
		},
		"output": {
			"description": "The operation's output (shape determined by the operation's output schema)"
		},
		"toolName": "grid_run"
	}
}

Navigation

Back to adapter details

Back to all adapters

Back to index