Tool Details: grid_job_result

Basic Information

Tool Name:grid_job_result
Asset Name:Grid Job Result
Description:grid_job_result: Compatibility entry point for waiting for an existing Job's output. Prefer job_result when available. A failed, rejected or cancelled target fails the wait. Legacy behavior: omitted or non-positive timeout waits indefinitely; an unbounded remote waiter mirrors the target's input/auth-required state. Send input to the target, not this waiter. A timeout does not cancel remote work; do not resubmit it. For local Jobs, requires job/read on the target Job. Remote access is authorized by the hosting venue using the selected remote identity and grants.
Adapter:grid
Asset Hash:0x6ad12838e0a17400df21bb46ec34224b318158c5ae9a1d1d53327a93f0912f57
Input
PropertyTypeDescription
venuestringHosting venue HTTP(S) URL or routable DID. Omit for a local Job, including a local proxy. For a destination Job use its own ID and hosting venue. A definition may set a default venue; this input overrides it. Null is invalid.
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.
id*stringExact Job ID on the selected hosting venue. A local wrapper and its destination are separate Jobs: use the ID of the one you intend to inspect or control. Agent, session and tool-call IDs are not Job IDs.
timeoutintegerMaximum milliseconds to wait. Legacy behavior: omitted or <=0 means no deadline. Expiry fails this wait, not the target execution.
ownerstringJob owner DID for delegated lookup, including retained Jobs. This grants no authority.
Output

Type: object

Schema: <code>{ &quot;description&quot;: &quot;Output value of the referenced job&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-4.covia.ai/mcp

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

url = "https://venue-4.covia.ai/mcp"
payload = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "grid_job_result",
        "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-4.covia.ai/mcp';
const payload = {
    jsonrpc: '2.0',
    id: 1,
    method: 'tools/call',
    params: {
        name: 'grid_job_result',
        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 Job Result",
	"description": "grid_job_result: Compatibility entry point for waiting for an existing Job's output. Prefer job_result when available. A failed, rejected or cancelled target fails the wait. Legacy behavior: omitted or non-positive timeout waits indefinitely; an unbounded remote waiter mirrors the target's input/auth-required state. Send input to the target, not this waiter. A timeout does not cancel remote work; do not resubmit it. For local Jobs, requires job/read on the target Job. Remote access is authorized by the hosting venue using the selected remote identity and grants.",
	"operation": {
		"adapter": "grid:jobResult",
		"readOnly": true,
		"toolName": "grid_job_result",
		"input": {
			"type": "object",
			"properties": {
				"id": {
					"type": "string",
					"description": "Exact Job ID on the selected hosting venue. A local wrapper and its destination are separate Jobs: use the ID of the one you intend to inspect or control. Agent, session and tool-call IDs are not Job IDs."
				},
				"timeout": {
					"type": "integer",
					"description": "Maximum milliseconds to wait. Legacy behavior: omitted or <=0 means no deadline. Expiry fails this wait, not the target execution."
				},
				"venue": {
					"type": "string",
					"description": "Hosting venue HTTP(S) URL or routable DID. Omit for a local Job, including a local proxy. For a destination Job use its own ID and hosting venue. A definition may set a default venue; this input overrides it. Null is invalid."
				},
				"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."
				},
				"owner": {
					"type": "string",
					"description": "Job owner DID for delegated lookup, including retained Jobs. This grants no authority."
				}
			},
			"required": [
				"id"
			]
		},
		"output": {
			"description": "Output value of the referenced job"
		}
	}
}

Navigation

Back to adapter details

Back to all adapters

Back to index