Raxol.AgentClientProtocol.Schema.ToolCallStatus (Raxol Agent Client Protocol v0.1.0)

Copy Markdown View Source

Execution status of a tool call. Every place this enum is used in the ACP schema (ToolCall.status, ToolCallUpdateFields.status) carries x-deserialize-default-on-error: true, so -- like ToolKind -- decode is total and infallible: an unrecognized wire value falls back to the documented default, :pending, rather than failing the enclosing object.

Ported from the MIT f1729/agent_client_protocol (c) 2025 f1729; see NOTICE.md.

Summary

Functions

Total and infallible: any unrecognized wire value decodes to the documented default, :pending.

Types

t()

@type t() :: :pending | :in_progress | :completed | :failed

Functions

decode(arg1)

@spec decode(term()) :: t()

Total and infallible: any unrecognized wire value decodes to the documented default, :pending.

default()

@spec default() :: t()

default?(arg1)

@spec default?(t()) :: boolean()

encode(atom)

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