| Tool Name: | grid_job_result |
| Asset Name: | Grid Job Result |
| Description: | Wait for an EXISTING Covia Job to finish and return its output. Call this operation directly with the exact id returned by a delegated request or asynchronous invocation; do not wrap it in the generic operation runner. With no timeout, blocks until the Job completes. With timeout, errors if it has not completed in time—callers wanting a result treat missing-result as failure. Retry with a longer timeout or fall back to alternative work if a timeout occurs. |
| Adapter: | grid |
| Asset Hash: | 0x9005e0fa52efb7d879b392b5eb4457d01548939f3b73c2baba7f132ed30e95a2 |
| Property | Type | Description |
|---|---|---|
id* | string | Job identifier returned from a previous grid invocation |
authenticateAs | string | Explicit remote authentication mode; use the same mode and credentials as the invocation that created the job |
venue | string | Optional remote venue URL or DID to query |
timeout | integer | Optional max milliseconds to wait. Omitted or <=0 means no timeout (block until done). On timeout the operation ERRORS — a missing result is a failure. |
Type: object
Schema: <code>{ "description": "Output value of the referenced job" }</code>
This tool can be called via the MCP (Model Context Protocol) endpoint. Here are examples of how to use it:
POST to https://venue-1.covia.ai/mcp
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "grid_job_result",
"arguments": {
"input": "your input here"
}
}
}curl -X POST https://venue-1.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"
}
}
}'import requests
import json
url = "https://venue-1.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)const fetch = require('node-fetch');
const url = 'https://venue-1.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));{
"name": "Grid Job Result",
"description": "Wait for an EXISTING Covia Job to finish and return its output. Call this operation directly with the exact id returned by a delegated request or asynchronous invocation; do not wrap it in the generic operation runner. With no timeout, blocks until the Job completes. With timeout, errors if it has not completed in time—callers wanting a result treat missing-result as failure. Retry with a longer timeout or fall back to alternative work if a timeout occurs.",
"operation": {
"adapter": "grid:jobResult",
"toolName": "grid_job_result",
"input": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Job identifier returned from a previous grid invocation"
},
"timeout": {
"type": "integer",
"description": "Optional max milliseconds to wait. Omitted or <=0 means no timeout (block until done). On timeout the operation ERRORS — a missing result is a failure."
},
"venue": {
"type": "string",
"description": "Optional remote venue URL or DID to query"
},
"authenticateAs": {
"type": "string",
"enum": ["anonymous", "caller", "venue"],
"default": "anonymous",
"description": "Explicit remote authentication mode; use the same mode and credentials as the invocation that created the job"
}
},
"required": ["id"]
},
"output": {
"description": "Output value of the referenced job"
}
}
}