Skip to main content
Version: latest

agrag.common.data_models.mcp_job.McpJobReply

Bases: McpJob

A job as a tool reply, with the embedding state and the runs it names.

Attributes:

  • embedding (OwnerReadinessState) – The embedding readiness of the owner that serves the job.
  • runs (list[DocumentRunStatus]) – The run of each document the job names that has one, including runs that are complete, so their chunk counts are readable.

cancellation_requested​

cancellation_requested: bool = False

document_keys​

document_keys: list[str]

embedding​

embedding: OwnerReadinessState

error​

error: str | None = None

job_id​

job_id: str

kind​

kind: str

lease_expires_at_ms​

lease_expires_at_ms: int = Field(default=0, ge=0)

model_config​

model_config = ConfigDict(frozen=True)

progress​

progress: str = ''

result​

result: dict[str, Any] | None = None

runs​

runs: list[DocumentRunStatus] = Field(default_factory=list)

state​

state: McpJobState