Header menu logo Nao

TaskSpec Type

A request to launch a background task. `Params` is an arbitrary, serializable key/value bag the task executor (keyed by `Kind`) knows how to interpret — e.g. for "document-conversion": source/target/media types; for "agent": agent/input. It is serialized to JSON so the owning task grain can persist and replay it.

Record fields

Record Field Description

Kind

Full Usage: Kind

Field type: string

Executor kind (e.g. "document-conversion", "agent").

Field type: string

Params

Full Usage: Params

Field type: Map<string, string>

Serializable parameters interpreted by the executor for this kind.

Field type: Map<string, string>

Title

Full Usage: Title

Field type: string

Human-readable task title shown in the UI.

Field type: string

Type something to start searching.