ExAgent.Message.Part.JobNotice (ExAgent v3.0.0)

View Source

Host notification of a terminal background job. The tool name is the registered name (the definition ID for durable jobs). Read the result with the query tools bound to the job's store or durable namespace. The candidate :follow_up field is the scheduled topic (String.t() | nil). Other job notices leave it nil.

Stability — Stable.

Summary

Functions

The host's model-facing description, with metadata encoded as JSON.

Types

t()

@type t() :: %ExAgent.Message.Part.JobNotice{
  follow_up: String.t() | nil,
  job_id: String.t(),
  status: :succeeded | :failed | :cancelled | :timeout | :expired | :denied,
  tool_name: String.t()
}

Functions

text(notice)

@spec text(t()) :: String.t()

The host's model-facing description, with metadata encoded as JSON.