A2aEngine.Types.TaskIdParams (a2a_engine v0.1.0)

Copy Markdown View Source

Params wrapper for tasks/cancel, tasks/resubscribe, and similar methods that identify a task by id only.

Wire fields: id (required), metadata.

Summary

Types

t()

@type t() :: %A2aEngine.Types.TaskIdParams{id: String.t(), metadata: map() | nil}

Functions

from_map(m)

@spec from_map(map()) :: {:ok, t()} | {:error, term()}

to_map(p)

@spec to_map(t()) :: map()