Wardrik.Interrupts (wardrik_protocol v0.1.0-rc.1)

Copy Markdown

Operations on the calls waiting on a person, across every agent the scope can see.

Wardrik.Interrupts.list(scope)
#=> {:ok, [%Wardrik.Interrupt{id: "call_1", agent_id: "acme/books", reason: :tool_approval, ...}]}

Summary

Functions

List the calls agents wait on a person for

Functions

list(scope, input \\ [])

@spec list(Wardrik.Scope.t(), term()) :: term() | :ok | {:error, Wardrik.Error.t()}

List the calls agents wait on a person for

GET /v1/interrupts