Tool Details: grid_job_status

Basic Information

Tool Name:grid_job_status
Asset Name:Grid Job Status
Description:grid_job_status: Compatibility entry point for reading an existing Job's record. Prefer job_status when available. Uses the same Job ID and hosting venue; does not start or retry work. 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:0xeda963c45a45aff4477f7bd16b672be606ba313683a7917b488fff542f16a60e
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.
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.
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.
ownerstringJob owner DID for delegated lookup, including retained Jobs. This grants no authority.
Output
PropertyTypeDescription
progressanyLatest progress, usually {message, data?}; may also be a string or operation-specific detail. Progress is not the final output.
outputanyThe operation's output when COMPLETE; any JSON value, including null. The output can itself be a handle returned by that operation.
errorCodeanyOptional operation-defined error code, a string or null; status alone does not identify the cause.
id*stringJob ID on this record's hosting venue.
status*stringPENDING is queued; STARTED is running. PAUSED may be resumed. INPUT_REQUIRED or AUTH_REQUIRED needs the requested input or credentials sent to this Job. COMPLETE has output; FAILED, CANCELLED and REJECTED are terminal. Inspect error and errorCode when present; do not automatically resubmit.
createdintegerCreation time in milliseconds since the Unix epoch.
updatedintegerLast record update in milliseconds since the Unix epoch.
erroranyReported reason for failure, rejection or cancellation: a string when available, otherwise absent or null.
cancellationobjectEvidence from an attempted backend cancellation; may arrive after local cancellation. Missing evidence does not prove remote work stopped.
delegationobjectObservations of remote work, when this Job delegates or waits on another Job.

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-1.covia.ai/mcp

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "grid_job_status",
    "arguments": {
      "input": "your input here"
    }
  }
}
cURL Example:
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_status",
      "arguments": {
        "input": "your input here"
      }
    }
  }'
Python Example:
import requests
import json

url = "https://venue-1.covia.ai/mcp"
payload = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "grid_job_status",
        "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-1.covia.ai/mcp';
const payload = {
    jsonrpc: '2.0',
    id: 1,
    method: 'tools/call',
    params: {
        name: 'grid_job_status',
        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 Status",
	"description": "grid_job_status: Compatibility entry point for reading an existing Job's record. Prefer job_status when available. Uses the same Job ID and hosting venue; does not start or retry work. 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:jobStatus",
		"readOnly": true,
		"toolName": "grid_job_status",
		"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."
				},
				"owner": {
					"type": "string",
					"description": "Job owner DID for delegated lookup, including retained Jobs. This grants no authority."
				}
			},
			"required": [
				"id"
			]
		},
		"output": {
			"type": "object",
			"description": "Current Job record on the selected hosting venue. Optional fields are present only when reported; absence of remote evidence does not prove completion or cancellation.",
			"properties": {
				"id": {
					"type": "string",
					"description": "Job ID on this record's hosting venue."
				},
				"status": {
					"type": "string",
					"enum": [
						"PENDING",
						"STARTED",
						"PAUSED",
						"INPUT_REQUIRED",
						"AUTH_REQUIRED",
						"COMPLETE",
						"FAILED",
						"CANCELLED",
						"REJECTED"
					],
					"description": "PENDING is queued; STARTED is running. PAUSED may be resumed. INPUT_REQUIRED or AUTH_REQUIRED needs the requested input or credentials sent to this Job. COMPLETE has output; FAILED, CANCELLED and REJECTED are terminal. Inspect error and errorCode when present; do not automatically resubmit."
				},
				"output": {
					"description": "The operation's output when COMPLETE; any JSON value, including null. The output can itself be a handle returned by that operation."
				},
				"error": {
					"description": "Reported reason for failure, rejection or cancellation: a string when available, otherwise absent or null."
				},
				"errorCode": {
					"description": "Optional operation-defined error code, a string or null; status alone does not identify the cause."
				},
				"created": {
					"type": "integer",
					"description": "Creation time in milliseconds since the Unix epoch."
				},
				"updated": {
					"type": "integer",
					"description": "Last record update in milliseconds since the Unix epoch."
				},
				"progress": {
					"description": "Latest progress, usually {message, data?}; may also be a string or operation-specific detail. Progress is not the final output."
				},
				"delegation": {
					"type": "object",
					"description": "Observations of remote work, when this Job delegates or waits on another Job.",
					"properties": {
						"remoteId": {
							"type": "string",
							"description": "Destination Job ID, not a local Job ID. Use only with its known hosting venue."
						},
						"remoteStatus": {
							"type": "string",
							"description": "Last observed destination state; may differ from this Job's status."
						},
						"notFollowed": {
							"type": "string",
							"description": "Why observation stopped and what the caller can do. Does not establish failure of the destination work."
						}
					}
				},
				"cancellation": {
					"type": "object",
					"description": "Evidence from an attempted backend cancellation; may arrive after local cancellation. Missing evidence does not prove remote work stopped.",
					"properties": {
						"remoteId": {
							"type": "string"
						},
						"outcome": {
							"type": "string",
							"enum": [
								"requested",
								"acknowledged",
								"finished",
								"rejected",
								"unknown"
							],
							"description": "requested: sent, no confirmation; acknowledged: peer reported cancellation; finished: peer reported another terminal outcome; rejected: peer refused; unknown: no conclusive answer. None undoes prior side effects."
						},
						"remoteStatus": {
							"type": "string"
						},
						"httpStatus": {
							"type": "integer"
						},
						"errorCode": {
							"description": "Protocol error code, when supplied."
						}
					}
				}
			},
			"required": [
				"id",
				"status"
			]
		}
	}
}

Navigation

Back to adapter details

Back to all adapters

Back to index