Adapter Details: job

Inspect and control existing Jobs on this or another venue, regardless of which adapter runs them.

Name:job
Class:covia.adapter.JobAdapter

MCP Tools

This adapter provides 6 MCP tool(s) for AI agent integration:

Tool NameDescription
job_messagejob_message: Deliver a structured message to an existing active Job that accepts messages, for example to answer INPUT_REQUIRED or AUTH_REQUIRED. Unsupported delivery and terminal Jobs fail explicitly. Acknowledgement means accepted delivery, not completion. Address the Job needing input, not a separate Job waiting for its result. For local Jobs, requires job/message; raw CRUD permissions and creator attribution do not grant it. Remote actions use the selected remote identity and grants, authorized at the hosting venue.
job_resumejob_resume: Resume a PAUSED Job if its execution adapter supports resumption. Return an acceptance acknowledgement; use job_status with job/read to inspect the record. Continue existing work without resubmitting its original input. INPUT_REQUIRED or AUTH_REQUIRED needs the requested input or credentials delivered as a message instead. For local Jobs, requires job/manage; raw CRUD permissions and creator attribution do not grant it. Remote actions use the selected remote identity and grants, authorized at the hosting venue.
job_pausejob_pause: Pause an existing STARTED Job if its execution adapter supports pausing. Return an acceptance acknowledgement; use job_status with job/read to inspect the record. Unsupported controls fail explicitly; pause does not undo side effects. For local Jobs, requires job/manage; raw CRUD permissions and creator attribution do not grant it. Remote actions use the selected remote identity and grants, authorized at the hosting venue.
job_canceljob_cancel: Request cancellation of an existing Job and return an acceptance acknowledgement. Existing terminal outcomes stay unchanged; prior side effects are not undone. For delegated execution, local CANCELLED alone does not prove the destination stopped: inspect cancellation.outcome and delegation.remoteStatus when present. For local Jobs, requires job/manage; raw CRUD permissions and creator attribution do not grant it. Remote actions use the selected remote identity and grants, authorized at the hosting venue. Cancelling an owning local proxy asks its remote execution to stop using the bound credentials; cancelling a result waiter only stops waiting.
job_resultjob_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.
job_statusjob_status: Read an existing Job's current record without waiting or starting work. PENDING is queued and STARTED is running; COMPLETE has output; FAILED, REJECTED and CANCELLED are terminal. PAUSED may be resumed; INPUT_REQUIRED or AUTH_REQUIRED needs the requested input. Inspect progress, output/error, and any delegation or cancellation evidence. For a result waiter, delegation.remoteStatus describes the target; send requested input to that target, not to the waiter. 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.

Navigation

Back to all adapters

Back to index