| Tool Name: | job_result |
| Asset Name: | Job Result |
| Description: | job_result: Wait for an existing Job and return its exact output. A failed, rejected or cancelled target fails this wait. Omit timeout or use 0 for no deadline; a positive timeout limits only the wait. Timing out or cancelling this wait leaves the target running. A target needing input will not finish until that input is supplied to it. Do not resubmit the original operation because a wait timed out. For local Jobs, requires job/read; raw CRUD permissions and creator attribution do not grant it. Remote actions use the selected remote identity and grants, authorized at the hosting venue. |
| Adapter: | job |
| Asset Hash: | 0xa784f604486dbbf47eb6cc244e4f47f013239278804e1e50a39c635df8bf7a05 |
| Property | Type | Description |
|---|---|---|
id* | string | 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 | integer | Maximum milliseconds to wait; omitted or 0 means no deadline. Expiry fails this wait without changing or cancelling the target. |
authenticateAs | string | 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. |
venue | string | 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. |
owner | string | Job owner DID. Supply it for another owner, including retained Jobs. This selects a lookup namespace and grants no authority. With a remote venue, omission selects the authenticated principal, or the remote public principal in anonymous mode. |
Type: object
Schema: <code>{ "description": "Exact output of the target Job; any JSON value, including null." }</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-test.covia.ai/mcp
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "job_result",
"arguments": {
"input": "your input here"
}
}
}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": "job_result",
"arguments": {
"input": "your input here"
}
}
}'import requests
import json
url = "https://venue-test.covia.ai/mcp"
payload = {
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "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-test.covia.ai/mcp';
const payload = {
jsonrpc: '2.0',
id: 1,
method: 'tools/call',
params: {
name: '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": "Job Result",
"description": "job_result: Wait for an existing Job and return its exact output. A failed, rejected or cancelled target fails this wait. Omit timeout or use 0 for no deadline; a positive timeout limits only the wait. Timing out or cancelling this wait leaves the target running. A target needing input will not finish until that input is supplied to it. Do not resubmit the original operation because a wait timed out. For local Jobs, requires job/read; raw CRUD permissions and creator attribution do not grant it. Remote actions use the selected remote identity and grants, authorized at the hosting venue.",
"operation": {
"adapter": "job:result",
"toolName": "job_result",
"readOnly": true,
"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."
},
"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."
},
"timeout": {
"type": "integer",
"minimum": 0,
"description": "Maximum milliseconds to wait; omitted or 0 means no deadline. Expiry fails this wait without changing or cancelling the target."
},
"owner": {
"type": "string",
"description": "Job owner DID. Supply it for another owner, including retained Jobs. This selects a lookup namespace and grants no authority. With a remote venue, omission selects the authenticated principal, or the remote public principal in anonymous mode."
}
},
"required": [
"id"
]
},
"output": {
"description": "Exact output of the target Job; any JSON value, including null."
}
}
}